# HG changeset patch # User John W. Eaton # Date 1422041635 18000 # Node ID 4c3ea57905fdc8abb00bb1af7bca27a705277d1c # Parent 4b980842edba8f0f2af3ef043c64d0bb2186a07f eliminate unused variable warnings in libgui * octave-dock-widget.cc, octave-gui.cc: Eliminate unsed variable warnings. diff -r 4b980842edba -r 4c3ea57905fd libgui/src/octave-dock-widget.cc --- 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 +} diff -r 4b980842edba -r 4c3ea57905fd libgui/src/octave-gui.cc --- 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 *) { }