From b03132825e5e1a1b5fa52ab098b3a33c4b95a466 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Wed, 4 Dec 2024 23:48:43 +0900 Subject: [PATCH] [qfcc] Fix a typo in a variable name --- tools/qfcc/source/statements.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/qfcc/source/statements.c b/tools/qfcc/source/statements.c index 3d08df3f0..a924f89c7 100644 --- a/tools/qfcc/source/statements.c +++ b/tools/qfcc/source/statements.c @@ -1594,12 +1594,12 @@ statement_return (sblock_t *sblock, const expr_t *e) const expr_t *ret_val = e->retrn.ret_val; auto ret_type = get_type (ret_val); operand_t *target = 0; - pr_ushort_t ret_crtl = type_size (ret_type) - 1; + pr_ushort_t ret_ctrl = type_size (ret_type) - 1; pr_ushort_t mode = 0; sblock = addressing_mode (sblock, ret_val, &s->opa, &s->opb, &mode, &target); - ret_crtl |= mode << 5; - s->opc = short_operand (ret_crtl, e); + ret_ctrl |= mode << 5; + s->opc = short_operand (ret_ctrl, e); statement_add_use (s, target); } else { if (e->retrn.at_return) {