Browse Source

Merge branch 'ENGINE-956'

Luca Saiu 8 months ago
parent
commit
d3328ec683
1 changed files with 2 additions and 6 deletions
  1. +2
    -6
      src/platform_unix.c

+ 2
- 6
src/platform_unix.c View File

@ -682,12 +682,8 @@ static PEP_STATUS _expand_variables(char **out,
{ \
if (_ ## name ## _cache == NULL) { \
/* It is unusual and slightly bizarre than a path is \
accessed before initialisation; however it can happen \
in the engine test suite. */ \
fprintf (stderr, \
"WARNING: accessing %s before its cache is set:" \
" this should not happen in production.\n", \
#name); \
accessed before initialisation; however it can happen, \
for example in the engine test suite. */ \
reset_path_cache(); \
} \
assert (_ ## name ## _cache != NULL); \


Loading…
Cancel
Save