pike.git / src / error.c

version» Context lines:

pike.git/src/error.c:896:    * arguments.    *    * o If fmt is specified, an error message is created from it and    * fmt_args using string_builder_vsprintf. (fmt_args is passed as a    * va_list pointer to be able to pass NULL if fmt is NULL.)    */   PMOD_EXPORT DECLSPEC(noreturn) void generic_error_va(    struct object *o, const char *func, const struct svalue *base_sp, int args,    const char *fmt, va_list *fmt_args)   { -  struct generic_error_struct *err = -  (struct generic_error_struct *) get_storage (o, generic_error_program); +  struct generic_error_struct *err = get_storage (o, generic_error_program);      #ifdef PIKE_DEBUG    if (!err)    Pike_fatal ("Got an object which doesn't inherit generic_error_program.\n");   #endif       if(in_error)    {    const char *tmp=in_error;    in_error=0;