From a8062a6f363ac9bd4c59868b805294034684f085 Mon Sep 17 00:00:00 2001 From: Christopher Lackner Date: Tue, 1 Sep 2020 11:59:37 +0200 Subject: [PATCH] fix missing initial value for offset in HashArchive --- libsrc/core/archive.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsrc/core/archive.hpp b/libsrc/core/archive.hpp index dc381a4a..2a006693 100644 --- a/libsrc/core/archive.hpp +++ b/libsrc/core/archive.hpp @@ -918,7 +918,7 @@ namespace ngcore { size_t hash_value; char* h; - int offset; + int offset = 0; public: HashArchive() : Archive(true) { h = (char*)&hash_value; }