Fix Valgrind uninitialized memory warning when running tests#508
Fix Valgrind uninitialized memory warning when running tests#508Ghabry merged 1 commit intoEasyRPG:masterfrom
Conversation
staticssleever668
commented
Apr 23, 2026
> Conditional jump or move depends on uninitialised value(s)
|
Jenkins: Test this please <3 |
Ghabry
left a comment
There was a problem hiding this comment.
Thx. Honestly not sure why its considered uninitialized but the errors are gone :)
|
Forwarded this change to Gemini to evaluate it: This appears to be a false positive in valgrind though I will continue merging it as it has no disadvantages. Notable (I will fix this somewhere else) is that it also found a bug in
Though this was never noticed as this function is never used and there is no unit test for it :) |
|
I don't think it's a false-positive, but it doesn't matter in practice either. |