From 64a48efb9e81c43741f8f8a49bbc546322010b2d Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Tue, 30 Aug 2016 09:53:35 +1000 Subject: [PATCH] aubinator: fix if indentation and add brackets to multiline body Fixes misleading indentation warning in gcc. Reviewed-by: Kenneth Graunke --- src/intel/tools/disasm.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/intel/tools/disasm.c b/src/intel/tools/disasm.c index a1cb19197cf..fcb61c44acb 100644 --- a/src/intel/tools/disasm.c +++ b/src/intel/tools/disasm.c @@ -75,12 +75,13 @@ gen_disasm_disassemble(struct gen_disasm *disasm, void *assembly, int start, /* Simplistic, but efficient way to terminate disasm */ if (brw_inst_opcode(devinfo, insn) == BRW_OPCODE_SEND || - brw_inst_opcode(devinfo, insn) == BRW_OPCODE_SENDC) + brw_inst_opcode(devinfo, insn) == BRW_OPCODE_SENDC) { if (brw_inst_eot(devinfo, insn)) break; - if (brw_inst_opcode(devinfo, insn) == 0) - break; + } + if (brw_inst_opcode(devinfo, insn) == 0) + break; } } -- 2.30.2