diff --git a/plugins/libimhex/include/hex/helpers/utils.hpp b/plugins/libimhex/include/hex/helpers/utils.hpp index bc3e1e5ef..d89e19d1c 100644 --- a/plugins/libimhex/include/hex/helpers/utils.hpp +++ b/plugins/libimhex/include/hex/helpers/utils.hpp @@ -127,7 +127,7 @@ namespace hex { default: __builtin_unreachable(); } - T result; + T result = 0; std::memcpy(&result, &swapped, size); return result;