diff libgui/src/octave-dock-widget.cc @ 19614: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 bd27cd403d00
children 2f4406e9dad6
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
+}