Branch: Tag:

1999-10-22

1999-10-22 18:16:17 by Fredrik Noring <noring@nocrew.org>

Fixed warnings.

Rev: src/modules/Gmp/mpz_glue.c:1.51
Rev: src/opcodes.c:1.47
Rev: src/stralloc.h:1.36

24:   #include "security.h"   #include "bignum.h"    - RCSID("$Id: opcodes.c,v 1.46 1999/10/22 16:50:53 noring Exp $"); + RCSID("$Id: opcodes.c,v 1.47 1999/10/22 18:16:15 noring Exp $");      void index_no_free(struct svalue *to,struct svalue *what,struct svalue *ind)   {
235:       case T_FLOAT:    { -  FLOAT_TYPE f; +  FLOAT_TYPE f = 0.0; +     switch(sp[-1].type)    {    case T_INT:
249:       default:    error("Cannot cast %s to float.\n",get_name_of_type(sp[-1].type)); -  f=0.0; +     }       sp[-1].type=T_FLOAT;
742:   {    struct svalue sval;    int e,cnt,matches,eye,arg; -  int no_assign,field_length,minus_flag; +  int no_assign = 0, field_length = 0, minus_flag = 0;    char set[256];    struct svalue *argp;