Branch: Tag:

2000-08-24

2000-08-24 17:11:16 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed a few warnings.

Rev: src/builtin_functions.c:1.301
Rev: src/modules/Gmp/mpz_glue.c:1.82
Rev: src/object.c:1.146

5:   \*/   /**/   #include "global.h" - RCSID("$Id: builtin_functions.c,v 1.300 2000/08/24 04:04:40 hubbe Exp $"); + RCSID("$Id: builtin_functions.c,v 1.301 2000/08/24 17:11:16 grubba Exp $");   #include "interpret.h"   #include "svalue.h"   #include "pike_macros.h"
83:      void f_hash(INT32 args)   { -  size_t i; +  size_t i = 0;       if(!args)    SIMPLE_TOO_FEW_ARGS_ERROR("hash",1);
1684:   PMOD_EXPORT void f_indices(INT32 args)   {    ptrdiff_t size; -  struct array *a; +  struct array *a = NULL;       if(args < 1)    SIMPLE_TOO_FEW_ARGS_ERROR("indices", 1);
1951:   PMOD_EXPORT void f_values(INT32 args)   {    ptrdiff_t size; -  struct array *a; +  struct array *a = NULL;    if(args < 1)    SIMPLE_TOO_FEW_ARGS_ERROR("values", 1);