Skip to content

Commit

Permalink
fix -Wmaybe-uninitialized for ModifyPersonalityForNature test
Browse files Browse the repository at this point in the history
  • Loading branch information
sbird committed Oct 23, 2023
1 parent 1137d54 commit 4488f98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/battle/trainer_control.c
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ TEST("CreateNPCTrainerPartyForTrainer generates different personalities for diff

TEST("ModifyPersonalityForNature can set any nature")
{
u32 personality, nature, j, k;
u32 personality = 0, nature = 0, j = 0, k = 0;
for (j = 0; j < 64; j++)
{
for (k = 0; k < NUM_NATURES; k++)
Expand Down

0 comments on commit 4488f98

Please sign in to comment.