Branch: Tag:

2006-07-05

2006-07-05 19:26:26 by Martin Stjernholm <mast@lysator.liu.se>

Fixed warnings.

Rev: src/backend.cmod:1.180
Rev: src/block_alloc.h:1.82
Rev: src/builtin.cmod:1.191
Rev: src/callback.c:1.37
Rev: src/errors.h:1.33
Rev: src/mapping.c:1.188
Rev: src/mapping.h:1.64
Rev: src/multiset.c:1.101
Rev: src/object.c:1.270
Rev: src/pike_embed.c:1.8
Rev: src/pike_types.c:1.254
Rev: src/signal_handler.c:1.321

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: callback.c,v 1.36 2006/01/24 12:02:37 mast Exp $ + || $Id: callback.c,v 1.37 2006/07/05 19:24:18 mast Exp $   */      #include "global.h"
67: Inside #if defined(PIKE_DEBUG)
     static void check_callback_chain(struct callback_list *lst)   { -  int e,len=0; -  struct callback_block *tmp; +  int len=0;    struct callback *foo;    if(d_flag>4)    {
95: Inside #if defined(PIKE_DEBUG) and #if 0
   * when dmalloc is used. Something like this should perhaps be    * provided by a consistency check function in block_alloc.    * /mast */ +  { +  struct callback_block *tmp;    for(tmp=callback_blocks;tmp;tmp=tmp->next)    { -  +  int e;    for(e=0;e<CALLBACK_CHUNK;e++)    {    int d;
135: Inside #if defined(PIKE_DEBUG) and #if 0
   }    }    } +  }   #endif    }   }