From 8433536375eb4618a58f3a1a38a8df2fa8a50410 Mon Sep 17 00:00:00 2001 From: Daniel Collins Date: Wed, 23 Jul 2025 19:16:41 +0100 Subject: [PATCH] Fix "misleading indentation" warning from GCC. --- wxLua/modules/wxlua/bit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wxLua/modules/wxlua/bit.c b/wxLua/modules/wxlua/bit.c index 377d5444..4bbbe03e 100644 --- a/wxLua/modules/wxlua/bit.c +++ b/wxLua/modules/wxlua/bit.c @@ -106,7 +106,7 @@ static int bit_bnot(lua_State *L) { BRET(~barg(L, 1)) } #define BIT_OP(func, opr) \ static int func(lua_State *L) { int i; UBits b = barg(L, 1); \ - for (i = lua_gettop(L); i > 1; i--) b opr barg(L, i); BRET(b) } + for (i = lua_gettop(L); i > 1; i--) { b opr barg(L, i); } BRET(b) } BIT_OP(bit_band, &=) BIT_OP(bit_bor, |=) BIT_OP(bit_bxor, ^=)