From 4dff175cd8880adccabd2b2e95911cd20acccf74 Mon Sep 17 00:00:00 2001 From: IceN9ne Date: Tue, 27 Nov 2018 19:40:08 -0500 Subject: Fix compiler warnings in the code. --- src/modules/objects/KvsObject_sql.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/objects/KvsObject_sql.cpp') diff --git a/src/modules/objects/KvsObject_sql.cpp b/src/modules/objects/KvsObject_sql.cpp index 3c71eeb2d..a4c036546 100644 --- a/src/modules/objects/KvsObject_sql.cpp +++ b/src/modules/objects/KvsObject_sql.cpp @@ -482,7 +482,7 @@ KVSO_CLASS_FUNCTION(sql, queryRecord) else pValue = new KviKvsVariant(QString()); pHash->set(record.fieldName(i), pValue); - KviKvsVariant * value2 = pHash->get(record.fieldName(i)); + (void)pHash->get(record.fieldName(i)); } c->returnValue()->setHash(pHash); return true; -- cgit v1.3.1-10-gc9f91