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:
7cdde96
)
gallivm: fix warning: ‘op’ may be used uninitialized
author
Marek Olšák
<marek.olsak@amd.com>
Mon, 22 Jul 2019 19:58:58 +0000
(15:58 -0400)
committer
Marek Olšák
<marek.olsak@amd.com>
Tue, 23 Jul 2019 00:57:44 +0000
(20:57 -0400)
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
index a50b2acbf9f6c591386ade6e7fd504bc7fe01001..7f569ac397c29817600790786ee33ef097fa12f1 100644
(file)
--- 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) {