diff options
author | Marek Olšák <[email protected]> | 2019-07-22 15:58:58 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2019-07-22 20:57:44 -0400 |
commit | f257ef2bbbdf30313b5ce3dda9ff14344cdfc915 (patch) | |
tree | 1d2d665cf8016a978594b5c577e67a88965491ea /src/gallium | |
parent | 7cdde962c5f65165e28cae92da57d2d6e4d7a740 (diff) |
gallivm: fix warning: ‘op’ may be used uninitialized
Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c index a50b2acbf9f..7f569ac397c 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c +++ b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c @@ -3585,6 +3585,9 @@ atomic_emit( case TGSI_OPCODE_ATOMIMAX: op = LLVMAtomicRMWBinOpMax; break; + default: + assert(0); + return; } if (0) { |