'default: g_assert_not_reached();' to silence GCC

Closes bug #612327 reported by Claudio Saavedra.
This commit is contained in:
Ryan Lortie 2010-03-09 13:34:00 -05:00
parent 89fa967ba1
commit a85b9c4bad

View File

@ -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)