Branch: Tag:

2008-01-13

2008-01-13 15:49:01 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added missing initializer for identifier opt_flags for variables and aliases.

Rev: src/program.c:1.637

2:   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: program.c,v 1.636 2008/01/05 20:08:12 grubba Exp $ + || $Id: program.c,v 1.637 2008/01/13 15:49:01 grubba Exp $   */      #include "global.h"
4523:    dummy.run_time_type = id->run_time_type; /* Not actually used. */    dummy.func.ext_ref.depth = depth;    dummy.func.ext_ref.id = refno; +  dummy.opt_flags = 0;   #ifdef PROFILING    dummy.self_time=0;    dummy.num_calls=0;
4646:    dummy.identifier_flags = IDENTIFIER_VARIABLE;    dummy.run_time_type=run_time_type;    dummy.func.offset=offset - Pike_compiler->new_program->inherits[0].storage_offset; +  dummy.opt_flags = 0;   #ifdef PROFILING    dummy.self_time=0;    dummy.num_calls=0;