Commit 42747189 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen
Browse files

Fix clang build

parent 791bf1b4
......@@ -73,7 +73,7 @@ class SqliteTools
std::shared_ptr<T> result;
sqlite3_stmt *stmt = executeRequest( dbConnection, req, args... );
if ( stmt == nullptr )
return false;
return nullptr;
if ( sqlite3_step( stmt ) != SQLITE_ROW )
return result;
result = T::load( dbConnection, stmt );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment