From 76b33ab57b93fceeedb636c7da1cf9fa9c88fd87 Mon Sep 17 00:00:00 2001 From: AzaezelX Date: Mon, 26 May 2025 15:16:48 -0500 Subject: [PATCH] unintialized variable cleanups --- Engine/source/console/runtime.h | 2 +- Engine/source/core/util/tDictionary.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Engine/source/console/runtime.h b/Engine/source/console/runtime.h index cb2a32805..25ac604e4 100644 --- a/Engine/source/console/runtime.h +++ b/Engine/source/console/runtime.h @@ -12,7 +12,7 @@ namespace Con String error; public: - EvalResult() {} + EvalResult() { valid = false; error = ""; } EvalResult(ConsoleValue pValue) { diff --git a/Engine/source/core/util/tDictionary.h b/Engine/source/core/util/tDictionary.h index 6c8c7d21f..f725a9bc5 100644 --- a/Engine/source/core/util/tDictionary.h +++ b/Engine/source/core/util/tDictionary.h @@ -179,8 +179,8 @@ class HashTable public: struct Pair { - Key key; - Value value; + Key key{}; + Value value{}; Pair() {} Pair(Key k,Value v) : key(k),