Jacek Caban : dbghelp: Fix misleading indentation warning.

Alexandre Julliard julliard at winehq.org
Mon Mar 30 16:24:25 CDT 2020


Module: wine
Branch: master
Commit: 94ad6bd2e66f589303fe9102b9a81b1f3e8ea9c6
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=94ad6bd2e66f589303fe9102b9a81b1f3e8ea9c6

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Sun Mar 29 21:03:47 2020 +0200

dbghelp: Fix misleading indentation warning.

Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/dbghelp/dwarf.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dlls/dbghelp/dwarf.c b/dlls/dbghelp/dwarf.c
index 949cd412d3..52de3b66f7 100644
--- a/dlls/dbghelp/dwarf.c
+++ b/dlls/dbghelp/dwarf.c
@@ -755,7 +755,10 @@ compute_location(const struct module *module, dwarf2_traverse_context_t* ctx, st
         case DW_OP_eq:          stack[stk-1] = (stack[stk-1] == stack[stk]); stk--; break;
         case DW_OP_ne:          stack[stk-1] = (stack[stk-1] != stack[stk]); stk--; break;
         case DW_OP_skip:        tmp = dwarf2_parse_u2(ctx); ctx->data += tmp; break;
-        case DW_OP_bra:         tmp = dwarf2_parse_u2(ctx); if (!stack[stk--]) ctx->data += tmp; break;
+        case DW_OP_bra:
+            tmp = dwarf2_parse_u2(ctx);
+            if (!stack[stk--]) ctx->data += tmp;
+            break;
         case DW_OP_regx:
             tmp = dwarf2_leb128_as_unsigned(ctx);
             if (!piece_found)




More information about the wine-cvs mailing list