Module: Mesa Branch: main Commit: bb0ad6f0f5beb3764d084617361ef3a04f337567 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bb0ad6f0f5beb3764d084617361ef3a04f337567
Author: Alexander von Gluck IV <[email protected]> Date: Tue Nov 21 17:51:27 2023 +0000 egl/haiku: Remove some dead cleanup code Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26322> --- src/egl/drivers/haiku/egl_haiku.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/egl/drivers/haiku/egl_haiku.cpp b/src/egl/drivers/haiku/egl_haiku.cpp index 5b3e6bb274f..fcdeb32311f 100644 --- a/src/egl/drivers/haiku/egl_haiku.cpp +++ b/src/egl/drivers/haiku/egl_haiku.cpp @@ -319,7 +319,6 @@ static EGLBoolean haiku_initialize_impl(_EGLDisplay *disp, void *platformDisplay) { struct haiku_egl_display *hgl_dpy; - const char *err; hgl_dpy = (struct haiku_egl_display *)calloc(1, sizeof(struct haiku_egl_display)); @@ -362,10 +361,6 @@ haiku_initialize_impl(_EGLDisplay *disp, void *platformDisplay) haiku_add_configs_for_visuals(disp); return EGL_TRUE; - -cleanup: - haiku_display_destroy(disp); - return _eglError(EGL_NOT_INITIALIZED, err); } static EGLBoolean
