summaryrefslogtreecommitdiff
path: root/src/database
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2017-12-17 15:21:40 +0100
committerlouiz’ <louiz@louiz.org>2017-12-17 15:21:40 +0100
commit286aa58c7b42f78eb72d4f05170a8c25edeba504 (patch)
treeb5d52d4307d9dc3373b2a659a5107638caad9231 /src/database
parent044a1a0c8c34fc463066a52528cd59db6d206c2e (diff)
downloadbiboumi-286aa58c7b42f78eb72d4f05170a8c25edeba504.tar.gz
biboumi-286aa58c7b42f78eb72d4f05170a8c25edeba504.tar.bz2
biboumi-286aa58c7b42f78eb72d4f05170a8c25edeba504.tar.xz
biboumi-286aa58c7b42f78eb72d4f05170a8c25edeba504.zip
Remove a warning (unused argument)
Diffstat (limited to 'src/database')
-rw-r--r--src/database/sqlite3_engine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/database/sqlite3_engine.cpp b/src/database/sqlite3_engine.cpp
index a94a892..d159540 100644
--- a/src/database/sqlite3_engine.cpp
+++ b/src/database/sqlite3_engine.cpp
@@ -85,7 +85,7 @@ std::unique_ptr<Statement> Sqlite3Engine::prepare(const std::string& query)
return std::make_unique<Sqlite3Statement>(stmt);
}
-void Sqlite3Engine::extract_last_insert_rowid(Statement& statement)
+void Sqlite3Engine::extract_last_insert_rowid(Statement&)
{
this->last_inserted_rowid = sqlite3_last_insert_rowid(this->db);
log_debug("extracted inserted ID: ", this->last_inserted_rowid);