projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6df215d
)
aubinator: fix if indentation and add brackets to multiline body
author
Timothy Arceri
<timothy.arceri@collabora.com>
Mon, 29 Aug 2016 23:53:35 +0000
(09:53 +1000)
committer
Timothy Arceri
<timothy.arceri@collabora.com>
Wed, 31 Aug 2016 00:19:45 +0000
(10:19 +1000)
Fixes misleading indentation warning in gcc.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/tools/disasm.c
patch
|
blob
|
history
diff --git
a/src/intel/tools/disasm.c
b/src/intel/tools/disasm.c
index
a1cb191
..
fcb61c4
100644
(file)
--- 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;
}
}