diff --git a/tools/qfcc/source/def.c b/tools/qfcc/source/def.c index 29214b5c3..7a06a1730 100644 --- a/tools/qfcc/source/def.c +++ b/tools/qfcc/source/def.c @@ -605,15 +605,11 @@ initialize_def (symbol_t *sym, expr_t *init, defspace_t *space, // fold_constants takes care of int/float conversions append_expr (local_expr, fold_constants (init)); } else { - int offset = 0; if (!is_constant (init)) { error (init, "non-constant initializier"); return; } while (init->type == ex_alias) { - if (init->e.alias.offset) { - offset += expr_int (init->e.alias.offset); - } init = init->e.alias.expr; } if (init->type != ex_value) { //FIXME enum etc