Branch: Tag:

2014-10-22

2014-10-22 17:19:23 by Arne Goedeke <el@laramies.com>

Fix -Wglobbered warnings.

One of them was actually legitimate.

1781:      static struct node_s *index_modules(struct pike_string *ident,    struct mapping **module_index_cache, -  int num_used_modules, +  const int num_used_modules,    struct svalue *modules) -  +  /* num_used_modules is declared const here to convince the compiler that it is not +  * modified in between setjmp() and longjmp(). This prevents -Wglobbered warnings. +  */   {    if(*module_index_cache)    {