aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgingerBill <gingerBill@users.noreply.github.com>2025-09-27 14:15:51 +0100
committergingerBill <gingerBill@users.noreply.github.com>2025-09-27 14:15:51 +0100
commit0233dc5d31e1db7b4da9e6c5a4a614e2cbb550a9 (patch)
treeaded15bc0400a04b428ded28d05169364df11eb8
parente9f6456b523984267461154a340f04dffe375608 (diff)
Remove stray `0`
-rw-r--r--src/llvm_backend_const.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/llvm_backend_const.cpp b/src/llvm_backend_const.cpp
index 69b2f830c..3aeba0891 100644
--- a/src/llvm_backend_const.cpp
+++ b/src/llvm_backend_const.cpp
@@ -635,7 +635,7 @@ gb_internal Slice<LLVMValueRef> lb_construct_const_union_flatten_values(lbModule
gb_internal LLVMValueRef lb_construct_const_union(lbModule *m, LLVMValueRef variant_value, Type *variant_type, Type *union_type) {
#if 1
return nullptr;
-#else 0
+#else
Type *bt = base_type(union_type);
GB_ASSERT(bt->kind == Type_Union);
GB_ASSERT(lb_type(m, variant_type) == LLVMTypeOf(variant_value));