gallivm: fix warning: ‘op’ may be used uninitialized
Reviewed-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
7cdde962c5
commit
f257ef2bbb
1 changed files with 3 additions and 0 deletions
|
|
@ -3585,6 +3585,9 @@ atomic_emit(
|
|||
case TGSI_OPCODE_ATOMIMAX:
|
||||
op = LLVMAtomicRMWBinOpMax;
|
||||
break;
|
||||
default:
|
||||
assert(0);
|
||||
return;
|
||||
}
|
||||
|
||||
if (0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue