mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fix possible unreliable behavior due to uninitialized variables
This commit is contained in:
parent
7bc2cde4dd
commit
38557ff635
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue