[vlc-commits] [Git][videolan/vlc][master] puzzle_pce: Disable i_ret uninitialized warning
Jean-Baptiste Kempf (@jbk)
gitlab at videolan.org
Mon Mar 3 10:11:20 UTC 2025
Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC
Commits:
d5bc46ae by abdo at 2025-03-03T09:57:35+00:00
puzzle_pce: Disable i_ret uninitialized warning
- - - - -
1 changed file:
- modules/video_filter/puzzle/puzzle_pce.c
Changes:
=====================================
modules/video_filter/puzzle/puzzle_pce.c
=====================================
@@ -125,7 +125,7 @@ int puzzle_bake_pieces_shapes( filter_t *p_filter)
return VLC_EGENERIC;
}
- int i_ret;
+ int i_ret = VLC_SUCCESS;
for (uint8_t i_plane = 0; i_plane < p_sys->s_allocated.i_planes; i_plane++) {
i_ret = puzzle_generate_sect_bezier( p_filter, &p_sys->ps_pieces_shapes[i_currect_shape][i_plane], 7, ps_scale_pts_V, i_plane, puzzle_SHAPE_LEFT);
if (i_ret != VLC_SUCCESS) break;
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/d5bc46aeb1ac40564154177afaaf58362de2e0ff
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/d5bc46aeb1ac40564154177afaaf58362de2e0ff
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list