VITA: Fix -Wmisleading-identation warning

source/gl_hud.c: In function 'HUD_Parse_Achievement':
source/gl_hud.c:1689:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
 1689 |     if (achievement_list[ach].unlocked)
      |     ^~
source/gl_hud.c:1692:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
 1692 |  achievement_unlocked = 1;
      |  ^~~~~~~~~~~~~~~~~~~~
This commit is contained in:
Peter0x44 2024-06-17 16:20:47 +01:00
parent c850e72b53
commit 251c34708c

View file

@ -1686,8 +1686,8 @@ void HUD_Achievement (void)
void HUD_Parse_Achievement (int ach)
{
if (achievement_list[ach].unlocked)
return;
if (achievement_list[ach].unlocked)
return;
achievement_unlocked = 1;
smallsec = 0;