[PATCH] Remove unused variable

Anton Lundin glance at acc.umu.se
Mon Dec 2 12:17:06 UTC 2013


Leftover from previous code that called get_gas_string

Signed-off-by: Anton Lundin <glance at acc.umu.se>
---
 qt-ui/models.cpp | 1 -
 1 file changed, 1 deletion(-)

diff --git a/qt-ui/models.cpp b/qt-ui/models.cpp
index f53c068..7be4a8a 100644
--- a/qt-ui/models.cpp
+++ b/qt-ui/models.cpp
@@ -1587,7 +1587,6 @@ QVariant ProfilePrintModel::data(const QModelIndex &index, int role) const
 	case Qt::DisplayRole: {
 		struct DiveItem di;
 		di.dive = dive;
-		char buf[80];
 
 		const QString unknown = tr("unknown");
 
-- 
1.8.3.2



More information about the subsurface mailing list