Fix possible unreliable behavior due to uninitialized variables

This commit is contained in:
Octavian 2022-05-10 13:34:59 +03:00 committed by sfan5
parent 7bc2cde4dd
commit 38557ff635

@ -483,6 +483,7 @@ const std::list<ActionRow> RollbackManager::actionRowsFromSelect(sqlite3_stmt* s
row.actor = sqlite3_column_int (stmt, 0);
row.timestamp = sqlite3_column_int64(stmt, 1);
row.type = sqlite3_column_int (stmt, 2);
row.nodeMeta = 0;
if (row.type == RollbackAction::TYPE_MODIFY_INVENTORY_STACK) {
text = sqlite3_column_text (stmt, 3);