Branch: Tag:

2008-01-05

2008-01-05 20:08:12 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed the warning "Unused local variable ." (ie the empty variable name).

Rev: src/program.c:1.636

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.635 2008/01/04 11:33:02 grubba Exp $ + || $Id: program.c,v 1.636 2008/01/05 20:08:12 grubba Exp $   */      #include "global.h"
8263: Inside #if 1
   Pike_compiler->compiler_frame->variable[level].name);    lex.current_file = save_file;    lex.current_line = save_line; +  /* Make sure we only warn once... */ +  Pike_compiler->compiler_frame->variable[level].flags |= +  LOCAL_VAR_IS_USED;    }    free_string(Pike_compiler->compiler_frame->variable[level].name);    copy_shared_string(Pike_compiler->compiler_frame->variable[level].name,