Branch: Tag:

2003-11-25

2003-11-25 18:29:30 by Jonas Wallden <jonasw@roxen.com>

Fixed uninitialized variables in debug code.

Rev: src/program.c:1.484

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.483 2003/10/21 02:16:34 nilsson Exp $ + || $Id: program.c,v 1.484 2003/11/25 18:29:30 jonasw Exp $   */      #include "global.h" - RCSID("$Id: program.c,v 1.483 2003/10/21 02:16:34 nilsson Exp $"); + RCSID("$Id: program.c,v 1.484 2003/11/25 18:29:30 jonasw Exp $");   #include "program.h"   #include "object.h"   #include "dynamic_buffer.h"
5004:    offset = pc - prog->program;    if ((offset < (ptrdiff_t)prog->num_program) && (offset >= 0)) {    char *base, *cnt = prog->linenumbers; -  INT32 off,line,pid; +  INT32 off = 0, line = 0;       while(cnt < prog->linenumbers + prog->num_linenumbers)    {