Skip to content

Commit

Permalink
fix -Wmaybe-uninitialized for ModifyPersonalityForNature test (#3457)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrgriffin authored Oct 24, 2023
2 parents 1137d54 + 4488f98 commit bb6efb1
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 bb6efb1

Please sign in to comment.