Skip to content

Commit

Permalink
address analysis warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamiras committed Jan 10, 2024
1 parent fddb76d commit 12cbec3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/AchievementRuntimeExports.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -718,7 +718,7 @@ class AchievementRuntimeExports : private AchievementRuntime
{
if (s_callbacks.read_memory_handler)
{
uint8_t value;
uint8_t value = 0;

if (s_callbacks.read_memory_handler(address, &value, 1, s_callbacks.read_memory_client) == 1)
return value;
Expand Down

0 comments on commit 12cbec3

Please sign in to comment.