mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-28 07:47:03 -05:00
sys: Fixed uninitialized variable
This commit is contained in:
@@ -127,7 +127,7 @@ namespace hex {
|
||||
default: __builtin_unreachable();
|
||||
}
|
||||
|
||||
T result;
|
||||
T result = 0;
|
||||
std::memcpy(&result, &swapped, size);
|
||||
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user