mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-03 21:12:26 +00:00
Silence some 'variable may be used uninitialized' compiler warnings
when compiling with -DG_DISABLE_ASSERT
This commit is contained in:
parent
17c839c8a1
commit
fc37cf5779
2 changed files with 2 additions and 1 deletions
|
@ -271,6 +271,7 @@ caps_add_channel_configuration (GstCaps * caps,
|
|||
channel_mask = CHANNEL_MASK_7_1;
|
||||
break;
|
||||
default:
|
||||
channel_mask = 0;
|
||||
g_assert_not_reached ();
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -1611,7 +1611,7 @@ colorbalance_value_changed (GtkRange * range, PlaybackApp * app)
|
|||
else if (range == GTK_RANGE (app->saturation_scale))
|
||||
label = "SATURATION";
|
||||
else
|
||||
g_assert_not_reached ();
|
||||
g_return_if_reached ();
|
||||
|
||||
val = gtk_range_get_value (range);
|
||||
|
||||
|
|
Loading…
Reference in a new issue