diff options
author | Marc Dietrich <[email protected]> | 2018-03-23 11:01:23 +0100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2018-04-17 11:53:59 +1000 |
commit | 268d8f244b3450461de5448f3f9a2ed2aa05e223 (patch) | |
tree | cc32e463c603f3e01ad3358e7ee2996e16bfe57d /src/mesa/main/compute.h | |
parent | 2a55344e7d2e87a31593e6f0c8432f91159564a4 (diff) |
glsl: fix gcc 8 parenthesis warning
fixes warnings like this:
[184/1137] Compiling C++ object 'src/compiler/glsl/glsl@sta/lower_jumps.cpp.o'.
In file included from ../src/mesa/main/mtypes.h:48,
from ../src/compiler/glsl_types.h:149,
from ../src/compiler/glsl/lower_jumps.cpp:59:
../src/compiler/glsl/lower_jumps.cpp: In member function '{anonymous}::block_record {anonymous}::ir_lower_jumps_visitor::visit_block(exec_list*)':
../src/compiler/glsl/list.h:650:17: warning: unnecessary parentheses in declaration of 'node' [-Wparentheses]
for (__type *(__inst) = (__type *)(__list)->head_sentinel.next; \
^
../src/compiler/glsl/lower_jumps.cpp:510:7: note: in expansion of macro 'foreach_in_list'
foreach_in_list(ir_instruction, node, list) {
^~~~~~~~~~~~~~~
Signed-off-by: Marc Dietrich <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/mesa/main/compute.h')
0 files changed, 0 insertions, 0 deletions