diff --git a/tools/qfcc/source/emit.c b/tools/qfcc/source/emit.c index 2ce867ea0..34a5de3f2 100644 --- a/tools/qfcc/source/emit.c +++ b/tools/qfcc/source/emit.c @@ -111,11 +111,9 @@ add_statement_def_ref (def_t *def, dstatement_t *st, int field) int alias_depth = 0; expr_t alias_depth_expr; + alias_depth_expr.file = def->file; + alias_depth_expr.line = def->line; while (def->alias) { - if (!alias_depth) { - alias_depth_expr.file = def->file; - alias_depth_expr.line = def->line; - } alias_depth++; offset_reloc |= def->offset_reloc; def = def->alias;