summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bus/config-parser.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bus/config-parser.c b/bus/config-parser.c
index 492cbc28..c8d026f9 100644
--- a/bus/config-parser.c
+++ b/bus/config-parser.c
@@ -2165,6 +2165,7 @@ bus_config_parser_end_element (BusConfigParser *parser,
switch (e->type)
{
case ELEMENT_NONE:
+ default:
_dbus_assert_not_reached ("element in stack has no type");
break;
@@ -2506,6 +2507,7 @@ bus_config_parser_content (BusConfigParser *parser,
switch (top_element_type (parser))
{
case ELEMENT_NONE:
+ default:
_dbus_assert_not_reached ("element at top of stack has no type");
return FALSE;