From c1957057be3061fa0dda7ce526678aba3434c318 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Wed, 01 Nov 2017 18:27:12 -0400 Subject: mq_web_view_view_source_scheme_methods.save_file(): Appease GCC It's a stub, GCC. Fixes: CC src/web-view-schemes/marquee-view-source.o src/web-view-schemes/view-source.c: In function ‘save_file’: src/web-view-schemes/view-source.c:229:2: warning: statement with no effect [-Wunused-value] mq_web_view_get_scheme(web_view); ^ --- (limited to 'src/web-view-schemes') diff --git a/src/web-view-schemes/view-source.c b/src/web-view-schemes/view-source.c index 3a18adc..133929b 100644 --- a/src/web-view-schemes/view-source.c +++ b/src/web-view-schemes/view-source.c @@ -223,11 +223,10 @@ context_menu(MqWebView *web_view, MqWebViewScheme G_GNUC_UNUSED *scheme, } static void -save_file(MqWebView *web_view, MqWebViewScheme *scheme) +save_file(MqWebView /*TODO*/G_GNUC_UNUSED *web_view, + MqWebViewScheme /*TODO*/G_GNUC_UNUSED *scheme) { /* TODO: Stub */ - mq_web_view_get_scheme(web_view); - *scheme = *scheme; } MqWebViewSchemeMethods mq_web_view_view_source_scheme_methods = { -- cgit v0.9.1