`_EGLDriver *drv` is a freshly calloc()'ed object, memset(0)'ing some of it is a no-op.
Signed-off-by: Eric Engestrom <[email protected]> --- src/egl/main/eglfallbacks.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/egl/main/eglfallbacks.c b/src/egl/main/eglfallbacks.c index 1575ab5f79..2d4851f757 100644 --- a/src/egl/main/eglfallbacks.c +++ b/src/egl/main/eglfallbacks.c @@ -49,8 +49,6 @@ _eglReturnFalse(void) void _eglInitDriverFallbacks(_EGLDriver *drv) { - memset(&drv->API, 0, sizeof(drv->API)); - /* the driver has to implement these */ drv->API.Initialize = NULL; drv->API.Terminate = NULL; -- Cheers, Eric _______________________________________________ mesa-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-dev
