From 400ab71fa338ac0ccd9617f24e626902e190e8a9 Mon Sep 17 00:00:00 2001 From: Timothy Rae Date: Fri, 31 Mar 2017 12:22:48 +0900 Subject: [PATCH] Fix unused parameter warning --- src/Database.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Database.cpp b/src/Database.cpp index a63b3ff..164f3e3 100644 --- a/src/Database.cpp +++ b/src/Database.cpp @@ -259,6 +259,7 @@ void Database::rekey(const std::string& aNewKey) const check(ret); } #else // SQLITE_HAS_CODEC + static_cast(aNewKey); // silence unused parameter warning const SQLite::Exception exception("No encryption support, recompile with SQLITE_HAS_CODEC to enable."); throw exception; #endif // SQLITE_HAS_CODEC