ext/jp2k/gstjasperenc.c: Some compilers complain about uninitialized variable; add...
authorDavid Schleef <ds@schleef.org>
Tue, 2 Dec 2008 06:21:21 +0000 (06:21 +0000)
committerDavid Schleef <ds@schleef.org>
Tue, 2 Dec 2008 06:21:21 +0000 (06:21 +0000)
Original commit message from CVS:
* ext/jp2k/gstjasperenc.c: Some compilers complain about
uninitialized variable; add a g_assert_not_reached()

ChangeLog
ext/jp2k/gstjasperenc.c

index 38af1ab..28b880a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
index 095bc8f..a81a2a9 100644 (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 ();
   }