ext/jp2k/gstjasperenc.c: Some compilers complain about uninitialized variable; add a g_assert_not_reached()

Original commit message from CVS:
* ext/jp2k/gstjasperenc.c: Some compilers complain about
uninitialized variable; add a g_assert_not_reached()
This commit is contained in:
David Schleef 2008-12-02 06:21:21 +00:00
parent 10097dffbd
commit eaa43c488c
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2008-12-01 David Schleef <ds@schleef.org>
* ext/jp2k/gstjasperenc.c: Some compilers complain about
uninitialized variable; add a g_assert_not_reached()
2008-12-01 Tim-Philipp Müller <tim.muller at collabora co uk>
Patch by: 이문형 <iwings at gmail dot com>

View file

@ -218,6 +218,8 @@ gst_jasper_enc_set_src_caps (GstJasperEnc * enc)
"height", G_TYPE_INT, enc->height, "fourcc", GST_TYPE_FOURCC, fourcc,
NULL);
break;
default:
g_assert_not_reached ();
}