From 0f8c46771ef5ccbb8100f5e731158ef98db57c95 Mon Sep 17 00:00:00 2001 From: Octavian Date: Tue, 10 May 2022 13:34:59 +0300 Subject: Fix possible unreliable behavior due to uninitialized variables --- src/rollback.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/rollback.cpp b/src/rollback.cpp index 33b7958b9..b454e40c9 100644 --- a/src/rollback.cpp +++ b/src/rollback.cpp @@ -483,6 +483,7 @@ const std::list 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); -- cgit v1.2.3