mirror of
https://github.com/odin-lang/Odin.git
synced 2025-12-31 18:32:12 +00:00
Minor code clean up
This commit is contained in:
@@ -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