From 251c34708c28c5499bd9ed32b31fbb13d9bdfaa4 Mon Sep 17 00:00:00 2001 From: Peter0x44 Date: Mon, 17 Jun 2024 16:20:47 +0100 Subject: [PATCH] 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; | ^~~~~~~~~~~~~~~~~~~~ --- source/gl_hud.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/gl_hud.c b/source/gl_hud.c index dd58566..b1b2b9f 100644 --- a/source/gl_hud.c +++ b/source/gl_hud.c @@ -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;