From: David Schleef Date: Tue, 2 Dec 2008 06:21:21 +0000 (+0000) Subject: ext/jp2k/gstjasperenc.c: Some compilers complain about uninitialized variable; add... X-Git-Tag: GIT_CONVERSION~95 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=eaa43c488c711b110006ddbb3ea7c554fef86d3b;p=platform%2Fupstream%2Fgst-plugins-bad.git 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() --- diff --git a/ChangeLog b/ChangeLog index 38af1ab..28b880a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-12-01 David Schleef + + * ext/jp2k/gstjasperenc.c: Some compilers complain about + uninitialized variable; add a g_assert_not_reached() + 2008-12-01 Tim-Philipp Müller Patch by: 이문형 diff --git a/ext/jp2k/gstjasperenc.c b/ext/jp2k/gstjasperenc.c index 095bc8f..a81a2a9 100644 --- a/ext/jp2k/gstjasperenc.c +++ b/ext/jp2k/gstjasperenc.c @@ -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 (); }