Commit fc37cf57 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠

Silence some 'variable may be used uninitialized' compiler warnings

when compiling with -DG_DISABLE_ASSERT
parent 17c839c8
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment