From 18e5676b4a11569ea938f8652b7b95271c1095fd Mon Sep 17 00:00:00 2001 From: Luca Saiu Date: Mon, 4 Oct 2021 10:51:06 +0200 Subject: [PATCH] remove warning print, which ended up appearing more often than I had anticipated --- src/platform_unix.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/platform_unix.c b/src/platform_unix.c index 46236bf4..0185813a 100644 --- a/src/platform_unix.c +++ b/src/platform_unix.c @@ -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); \