diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-11-01 18:27:12 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-11-01 18:27:12 (EDT) |
commit | c1957057be3061fa0dda7ce526678aba3434c318 (patch) | |
tree | 66ea77f06f848e4ea4d3b529afeb9c002757e854 /src/web-view-schemes | |
parent | d6b1aa460549167d3f6ccb4ae69b672dd2840313 (diff) | |
download | marquee-c1957057be3061fa0dda7ce526678aba3434c318.zip marquee-c1957057be3061fa0dda7ce526678aba3434c318.tar.gz marquee-c1957057be3061fa0dda7ce526678aba3434c318.tar.bz2 |
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);
^
Diffstat (limited to 'src/web-view-schemes')
-rw-r--r-- | src/web-view-schemes/view-source.c | 5 |
1 files changed, 2 insertions, 3 deletions
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 = { |