Branch: Tag:

2001-09-24

2001-09-24 15:02:13 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed a few warnings.

Rev: src/array.c:1.118
Rev: src/backend.cmod:1.20
Rev: src/docode.c:1.132
Rev: src/encode.c:1.129
Rev: src/error.c:1.76
Rev: src/fd_control.c:1.37
Rev: src/fdlib.c:1.50
Rev: src/fsort_template.h:1.9
Rev: src/gc.c:1.177
Rev: src/interpret.c:1.249
Rev: src/interpret_functions.h:1.93
Rev: src/lexer.h:1.34
Rev: src/main.c:1.137
Rev: src/mapping.c:1.137
Rev: src/module_support.c:1.41
Rev: src/modules/system/nt.c:1.45
Rev: src/multiset.c:1.38
Rev: src/object.c:1.185
Rev: src/opcodes.c:1.116
Rev: src/operators.c:1.140
Rev: src/pike_search_engine.c:1.7
Rev: src/preprocessor.h:1.46
Rev: src/signal_handler.c:1.202

22:   #include "threads.h"   #include "gc.h"    - RCSID("$Id: error.c,v 1.75 2001/08/15 22:58:36 mast Exp $"); + RCSID("$Id: error.c,v 1.76 2001/09/24 14:29:42 grubba Exp $");      #undef ATTRIBUTE   #define ATTRIBUTE(X)
314:    va_list args;    static int in_fatal = 0;    +  /* fprintf(stderr, "Raw error: %s\n", fmt); */ +     va_start(args,fmt);    /* Prevent double fatal. */    if (in_fatal)
519:    ATTRIBUTE((noreturn))   {    char buf[8192]; -  struct pike_string *desc; -  struct array *backtrace; +     int i;      #ifdef HAVE_VSNPRINTF