Branch: Tag:

2001-09-24

2001-09-24 16:58:33 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed a few warnings.

Rev: src/builtin.cmod:1.66
Rev: src/builtin_functions.c:1.406
Rev: src/combine_path.h:1.8
Rev: src/iterators.cmod:1.14
Rev: src/las.c:1.266
Rev: src/peep.c:1.70
Rev: src/program.c:1.372
Rev: src/stralloc.c:1.136
Rev: src/svalue.c:1.124
Rev: src/threads.c:1.166

1:   /* -*- c -*- -  * $Id: builtin.cmod,v 1.65 2001/09/21 17:57:12 grubba Exp $ +  * $Id: builtin.cmod,v 1.66 2001/09/24 16:46:34 grubba Exp $    */      #include "global.h"
620:    efun;    optflags OPT_TRY_OPTIMIZE;   { -  struct pike_string *s; +     switch(func->type)    {    default:
1025:    PIKEFUN mixed `[]=(int index, mixed value)    {    INT32 numargs = 0; -  INT32 i; +        if (THIS->args) {    numargs = THIS->args->size;
1255:    *!    *! Initializes a new buffer.    *! -  *! If no @[initial_size] is specified, 4096 is used. If you +  *! If no @[initial_size] is specified, 256 is used. If you    *! know approximately how big the buffer will be, you can optimize    *! the operation of @[add()] (slightly) by passing the size to this    *! function.