summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDavid King <amigadave@amigadave.com>2015-01-29 13:46:34 +0000
committerDavid King <amigadave@amigadave.com>2015-02-05 14:57:21 +0000
commit12b632d3700e7a161d87449c6dded23441471290 (patch)
tree1c7ed84faa23d0833df3124606a940b34fd725b3 /tests
parentc9f0723cf694fb92da444f9df51b96efde1c4786 (diff)
downloadyelp-12b632d3700e7a161d87449c6dded23441471290.tar.gz
Add default to switch statement
Avoid a compiler warning.
Diffstat (limited to 'tests')
-rw-r--r--tests/test-uri.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test-uri.c b/tests/test-uri.c
index 624b68bb..0f50abfd 100644
--- a/tests/test-uri.c
+++ b/tests/test-uri.c
@@ -76,6 +76,9 @@ print_uri (gchar *orig, YelpUri *uri, GOutputStream *stream)
case YELP_URI_DOCUMENT_TYPE_UNRESOLVED:
type = "UNRESOLVED";
break;
+ default:
+ g_assert_not_reached ();
+ break;
}
out = g_strdup_printf ("DOCUMENT TYPE: %s\n", type);