diff libgui/src/main-window.cc @ 27041:6caf75200854 stable

build: Silence unused parameter warning created in cset 43f6f02dd91c (bug #56097). * main-window.cc (main:window::file_remove_proxy): Create #else branch of "#ifdef (HAVE_QSCINTILLA)" which uses octave_unused_parameter() to silence unused inputs to function.
author Rik <rik@octave.org>
date Thu, 11 Apr 2019 08:48:43 -0700
parents 32d9f57d7245
children 2faa56886789 2310164737b3
line wrap: on
line diff
--- a/libgui/src/main-window.cc	Thu Apr 11 08:37:13 2019 -0700
+++ b/libgui/src/main-window.cc	Thu Apr 11 08:48:43 2019 -0700
@@ -501,6 +501,9 @@
     // Close the file if opened
 #if defined (HAVE_QSCINTILLA)
     m_editor_window->handle_file_remove (o, n);
+#else
+    octave_unused_parameter (o);
+    octave_unused_parameter (n);
 #endif
 
     // We are done: Unlock and wake the worker thread