Skip to content

Commit 3403816

Browse files
committed
fix false-positive uninitialized variable warning
1 parent 382ea68 commit 3403816

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/egl_gbm_render_surface.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ static int egl_gbm_render_surface_init(
146146
}
147147
#endif
148148

149-
int with_modifiers_errno;
149+
int with_modifiers_errno = 0;
150150
gbm_surface = NULL;
151151
if (allowed_modifiers != NULL) {
152152
gbm_surface = gbm_surface_create_with_modifiers(

0 commit comments

Comments
 (0)