Browse Source

remove warning print, which ended up appearing more often than I had anticipated

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

+ 2
- 6
src/platform_unix.c View File

@ -618,12 +618,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