Branch: Tag:

2018-07-11

2018-07-11 09:34:29 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Build: Fixed erroneous warning in find_versioned_identifier().

4854:    int old_major = Pike_compiler->compat_major;    int old_minor = Pike_compiler->compat_minor;    struct svalue *efun = NULL; -  /* NOTE: Compilers warn about res being globbered by the setjmp,longjmp -  * below. This warning is spurious because pop_stack() does not actually -  * do the longjmp, instead f_index() does. */ -  node *res = NULL; +  node *res;       change_compiler_compatibility(major, minor);   
4867:       /* Check predef:: first, and then the modules. */    +  res = NULL;    if (TYPEOF(c->default_module) == T_MAPPING) {    if ((efun = low_mapping_string_lookup(c->default_module.u.mapping,    identifier)))