mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-04 05:22:30 +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;
|
channel_mask = CHANNEL_MASK_7_1;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
channel_mask = 0;
|
||||||
g_assert_not_reached ();
|
g_assert_not_reached ();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1611,7 +1611,7 @@ colorbalance_value_changed (GtkRange * range, PlaybackApp * app)
|
||||||
else if (range == GTK_RANGE (app->saturation_scale))
|
else if (range == GTK_RANGE (app->saturation_scale))
|
||||||
label = "SATURATION";
|
label = "SATURATION";
|
||||||
else
|
else
|
||||||
g_assert_not_reached ();
|
g_return_if_reached ();
|
||||||
|
|
||||||
val = gtk_range_get_value (range);
|
val = gtk_range_get_value (range);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue