Branch: Tag:

2016-03-13

2016-03-13 09:23:01 by Arne Goedeke <el@laramies.com>

Compiler: fix compiler warning

GCC believes that 'x' might have an unspecified value here, because
it appears to be modified in between setjmp and longjmp.

4794:   static node *safe_inc_enum(node *n)   {    JMP_BUF recovery; +  node *ret;    STACK_LEVEL_START(0);       if (SETJMP(recovery)) {
4808:    UNSETJMP(recovery);    STACK_LEVEL_DONE(1);    free_node(n); -  n = mkconstantsvaluenode(Pike_sp-1); +  ret = mkconstantsvaluenode(Pike_sp-1);    pop_stack(); -  return n; +  return ret;   }      static node *find_versioned_identifier(struct pike_string *identifier,