diff options
author | Jorge Arellano Cid <jcid@dillo.org> | 2016-07-12 15:08:50 -0400 |
---|---|---|
committer | Jorge Arellano Cid <jcid@dillo.org> | 2016-07-12 15:08:50 -0400 |
commit | 3f995b03c6fd112bbb8d4a25070ed6a07f126cf5 (patch) | |
tree | 5de9d7f87209a60bd21e1c35d99b16aea53d8023 /src | |
parent | 0856f155988da7dfc10eee25157525466ab32f20 (diff) |
cppcheck: ignored return value.
It wasn't necessary! ;)
Diffstat (limited to 'src')
-rw-r--r-- | src/ui.cc | 3 | ||||
-rw-r--r-- | src/ui.hh | 2 |
2 files changed, 2 insertions, 3 deletions
@@ -508,7 +508,7 @@ void UI::make_progress_bars(int wide, int thin_up) * Create the "File" menu * Static function for File menu callbacks. */ -Fl_Widget *UI::make_filemenu_button() +void UI::make_filemenu_button() { CustButton *btn; int w = 0, h = 0, padding; @@ -529,7 +529,6 @@ Fl_Widget *UI::make_filemenu_button() btn->clear_visible_focus(); if (!prefs.show_filemenu) btn->hide(); - return btn; } @@ -146,7 +146,7 @@ class UI : public CustGroupVertical { void make_location(int ww); void make_progress_bars(int wide, int thin_up); void make_menubar(int x, int y, int w, int h); - Fl_Widget *make_filemenu_button(); + void make_filemenu_button(); void make_panel(int ww); void make_status_bar(int ww, int wh); |