From abf25e0e1ca1cd914b984b4063156a9799195246 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Fri, 12 Nov 2004 05:04:00 +0000 Subject: [PATCH] real fix for uninitialized functions This is an imperfect revision of history. --- tools/qfcc/source/expr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/qfcc/source/expr.c b/tools/qfcc/source/expr.c index 8d371e485..c75216a26 100644 --- a/tools/qfcc/source/expr.c +++ b/tools/qfcc/source/expr.c @@ -301,7 +301,7 @@ check_initialized (expr_t *e) if (e->type == ex_def && !(e->e.def->type->type == ev_func - && e->e.def->global) + && !e->e.def->local) && !(e->e.def->type->type == ev_struct) && !e->e.def->external && !e->e.def->initialized) {