pike.git / src / program.c

version» Context lines:

pike.git/src/program.c:1774:    }   }      int low_find_shared_string_identifier(struct pike_string *name,    struct program *prog);            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)    {    struct svalue *tmp=low_mapping_string_lookup(*module_index_cache,ident);    if(tmp)    {    if(!(SAFE_IS_ZERO(tmp) && SUBTYPEOF(*tmp)==1))    return mksvaluenode(tmp);    return 0;    }