diff widgets/ModelDataTableDialog.cpp @ 1538:0ca4ca37809e

Avoid compiler warning
author Chris Cannam
date Tue, 15 Oct 2019 14:51:58 +0100
parents 5a215033b853
children
line wrap: on
line diff
--- a/widgets/ModelDataTableDialog.cpp	Tue Oct 15 11:40:56 2019 +0100
+++ b/widgets/ModelDataTableDialog.cpp	Tue Oct 15 14:51:58 2019 +0100
@@ -287,6 +287,8 @@
             << previous.row() << ", " << previous.column()
             << " to " << current.row() << ", " << current.column() 
             << endl;
+#else
+    (void)previous; // unused
 #endif
     m_currentRow = current.row();
     m_table->setCurrentRow(m_currentRow);