From ec15a1449cb482d317f3c0b8adbdef10f1325f91 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Wed, 01 Nov 2017 16:39:54 -0400 Subject: MqWebView: Add default case to "load-changed" callback Fixes: CC src/toolbars/navigation/marquee-uri-entry.o src/toolbars/navigation/uri-entry.c: In function ‘load_changed_cb’: src/toolbars/navigation/uri-entry.c:59:2: warning: switch missing default case [-Wswitch-default] switch (load_event) { ^ --- (limited to 'src') diff --git a/src/toolbars/navigation/uri-entry.c b/src/toolbars/navigation/uri-entry.c index af3e0c6..3862801 100644 --- a/src/toolbars/navigation/uri-entry.c +++ b/src/toolbars/navigation/uri-entry.c @@ -69,6 +69,9 @@ load_changed_cb(MqWebView *web_view, WebKitLoadEvent load_event, gtk_entry_set_progress_fraction( GTK_ENTRY(uri_entry->uri_entry), 0.0); break; + default: + g_assert_not_reached(); + break; } } -- cgit v0.9.1