瀏覽代碼

Remove stray `0`

gingerBill 2 周之前
父節點
當前提交
0233dc5d31
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/llvm_backend_const.cpp

+ 1 - 1
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));