From d7eea11c9150f0697a6aff731e433918eeafed0f Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Thu, 12 Sep 2002 18:30:24 +0000 Subject: [PATCH] static defs are initialized too --- tools/qfcc/source/qc-parse.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/qfcc/source/qc-parse.y b/tools/qfcc/source/qc-parse.y index a8aeb7df8..9cb0bde10 100644 --- a/tools/qfcc/source/qc-parse.y +++ b/tools/qfcc/source/qc-parse.y @@ -366,7 +366,7 @@ def_item : def_name opt_initializer { $$ = $1; - if ($$ && $$->global + if ($$ && !$$->local && $$->type->type != ev_func) def_initialized ($$); }