From: Timothy Arceri Date: Mon, 29 Aug 2016 23:53:35 +0000 (+1000) Subject: aubinator: fix if indentation and add brackets to multiline body X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=64a48efb9e81c43741f8f8a49bbc546322010b2d;p=mesa.git aubinator: fix if indentation and add brackets to multiline body Fixes misleading indentation warning in gcc. Reviewed-by: Kenneth Graunke --- 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; } }