mirror of
https://github.com/odin-lang/Odin.git
synced 2026-10-11 15:27:06 -04:00
Minor code clean up
This commit is contained in:
1 parent
e781056df1
commit
bdab5e00da
6 files changed
+41
-22
No files matched your search
+2
-1
@@ -5439,7 +5439,8 @@ ExprKind check_call_expr(CheckerContext *c, Operand *operand, Ast *call) {
|
||||
operand->mode = Addressing_NoValue;
|
||||
} else {
|
||||
GB_ASSERT(is_type_tuple(result_type));
|
||||
switch (result_type->Tuple.variables.count) {
|
||||
isize count = result_type->Tuple.variables.count;
|
||||
switch (count) {
|
||||
case 0:
|
||||
operand->mode = Addressing_NoValue;
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user