diff options
author | David King <amigadave@amigadave.com> | 2015-01-29 13:46:34 +0000 |
---|---|---|
committer | David King <amigadave@amigadave.com> | 2015-02-05 14:57:21 +0000 |
commit | 12b632d3700e7a161d87449c6dded23441471290 (patch) | |
tree | 1c7ed84faa23d0833df3124606a940b34fd725b3 /tests | |
parent | c9f0723cf694fb92da444f9df51b96efde1c4786 (diff) | |
download | yelp-12b632d3700e7a161d87449c6dded23441471290.tar.gz |
Add default to switch statement
Avoid a compiler warning.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test-uri.c | 3 |
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); |