changeset 1538:0ca4ca37809e

Avoid compiler warning
author Chris Cannam
date Tue, 15 Oct 2019 14:51:58 +0100
parents 4f8c72adbf43
children bfacecf7ea7e
files widgets/ModelDataTableDialog.cpp
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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);