From 6dae2ccf1b5f01774b0efc022ab5c9fb092e29ce Mon Sep 17 00:00:00 2001 From: Markus Linnala Date: Wed, 3 Aug 2016 16:27:48 +0300 Subject: [PATCH] silence warning about if guard In file included from src/sregex/sre_vm_thompson_jit.c:16:0: ./dynasm/dasm_x86.h: In function 'dasm_put': ./dynasm/dasm_x86.h:207:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (*p++ == 1 && *p == DASM_DISP) mrm = n; continue; ^~ ./dynasm/dasm_x86.h:207:45: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' if (*p++ == 1 && *p == DASM_DISP) mrm = n; continue; ^~~~~~~~ --- dynasm/dasm_x86.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dynasm/dasm_x86.h b/dynasm/dasm_x86.h index 7c6dcd3..266537c 100644 --- a/dynasm/dasm_x86.h +++ b/dynasm/dasm_x86.h @@ -204,7 +204,8 @@ void dasm_put(Dst_DECL, int start, ...) case DASM_SPACE: p++; ofs += n; break; case DASM_SETLABEL: b[pos-2] = -0x40000000; break; /* Neg. label ofs. */ case DASM_VREG: CK((n&-8) == 0 && (n != 4 || (*p&1) == 0), RANGE_VREG); - if (*p++ == 1 && *p == DASM_DISP) mrm = n; continue; + if (*p++ == 1 && *p == DASM_DISP) mrm = n; + continue; } mrm = 4; } else {