Skip to content

Commit

Permalink
fix false-positive uninitialized variable warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ardera committed Sep 16, 2024
1 parent 382ea68 commit 3403816
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/egl_gbm_render_surface.c
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ static int egl_gbm_render_surface_init(
}
#endif

int with_modifiers_errno;
int with_modifiers_errno = 0;
gbm_surface = NULL;
if (allowed_modifiers != NULL) {
gbm_surface = gbm_surface_create_with_modifiers(
Expand Down

0 comments on commit 3403816

Please sign in to comment.