From a85b9c4badf22777b1b099befcd9e033afa45dbf Mon Sep 17 00:00:00 2001 From: Ryan Lortie Date: Tue, 9 Mar 2010 13:34:00 -0500 Subject: [PATCH] 'default: g_assert_not_reached();' to silence GCC Closes bug #612327 reported by Claudio Saavedra. --- glib/gvariant-serialiser.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/glib/gvariant-serialiser.c b/glib/gvariant-serialiser.c index a4c7fa68d..1cf330cf2 100644 --- a/glib/gvariant-serialiser.c +++ b/glib/gvariant-serialiser.c @@ -1041,6 +1041,9 @@ gvs_tuple_is_normal (GVariantSerialised value) end = gvs_read_unaligned_le (value.data + offset_ptr, offset_size); break; + + default: + g_assert_not_reached (); } if (end < offset || end > offset_ptr)