From eaa43c488c711b110006ddbb3ea7c554fef86d3b Mon Sep 17 00:00:00 2001 From: David Schleef Date: Tue, 2 Dec 2008 06:21:21 +0000 Subject: [PATCH] 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() --- ChangeLog | 5 +++++ ext/jp2k/gstjasperenc.c | 2 ++ 2 files changed, 7 insertions(+) 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 (); } -- 2.7.4