diff libgui/src/m-editor/file-editor.h @ 20720:7c21b151b8b4

build: Fix warning messages from compiler. * file-editor.cc (switch_tab): Change input 'move' to 'movetab' to avoid shadowing variable in *this. * file-editor.h (switch_tab): Change input 'move' to 'movetab' in function prototype. * data.cc (get_sort_mode_option): Remove unused second input argn. * data.cc (issorted): Remove second arg from calls to get_sort_mode_option.
author Rik <rik@octave.org>
date Wed, 18 Nov 2015 22:31:29 -0800
parents 632683d6396f
children e6ccc8ae9e41
line wrap: on
line diff
--- a/libgui/src/m-editor/file-editor.h	Wed Nov 18 22:07:12 2015 -0800
+++ b/libgui/src/m-editor/file-editor.h	Wed Nov 18 22:31:29 2015 -0800
@@ -269,7 +269,7 @@
 
   void toggle_preference (const QString& preference, bool def);
 
-  void switch_tab (int direction, bool move = false);
+  void switch_tab (int direction, bool movetab = false);
 
   bool editor_tab_has_focus ();