changeset 19648:4c3ea57905fd gui-release

eliminate unused variable warnings in libgui * octave-dock-widget.cc, octave-gui.cc: Eliminate unsed variable warnings.
author John W. Eaton <jwe@octave.org>
date Fri, 23 Jan 2015 14:33:55 -0500
parents 4b980842edba
children 4c1f638a381e
files libgui/src/octave-dock-widget.cc libgui/src/octave-gui.cc
diffstat 2 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libgui/src/octave-dock-widget.cc	Thu Jan 22 21:38:12 2015 +0100
+++ b/libgui/src/octave-dock-widget.cc	Fri Jan 23 14:33:55 2015 -0500
@@ -240,6 +240,9 @@
 #else
 
   // non windows: just say we are a docked widget again
+
+  Q_UNUSED (dock);
+
   setWindowFlags (Qt::Widget);
 
   QString css = styleSheet ();
@@ -427,4 +430,4 @@
       set_style (true);
       update ();
     }
-}
\ No newline at end of file
+}
--- a/libgui/src/octave-gui.cc	Thu Jan 22 21:38:12 2015 +0100
+++ b/libgui/src/octave-gui.cc	Fri Jan 23 14:33:55 2015 -0500
@@ -89,7 +89,7 @@
 // Disable all Qt messages by default.
 
 static void
-message_handler (QtMsgType type, const char *msg)
+message_handler (QtMsgType, const char *)
 {
 }