mirror of
https://github.com/cuberite/SQLiteCpp.git
synced 2025-08-04 17:56:13 -04:00
Fix unused parameter warning
This commit is contained in:
parent
b23f2e155f
commit
400ab71fa3
@ -259,6 +259,7 @@ void Database::rekey(const std::string& aNewKey) const
|
|||||||
check(ret);
|
check(ret);
|
||||||
}
|
}
|
||||||
#else // SQLITE_HAS_CODEC
|
#else // SQLITE_HAS_CODEC
|
||||||
|
static_cast<void>(aNewKey); // silence unused parameter warning
|
||||||
const SQLite::Exception exception("No encryption support, recompile with SQLITE_HAS_CODEC to enable.");
|
const SQLite::Exception exception("No encryption support, recompile with SQLITE_HAS_CODEC to enable.");
|
||||||
throw exception;
|
throw exception;
|
||||||
#endif // SQLITE_HAS_CODEC
|
#endif // SQLITE_HAS_CODEC
|
||||||
|
Loading…
x
Reference in New Issue
Block a user