aubinator: fix if indentation and add brackets to multiline body

Fixes misleading indentation warning in gcc.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
Timothy Arceri 2016-08-30 09:53:35 +10:00
parent 6df215d97e
commit 64a48efb9e

View file

@ -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;
}
}