dtoolutil: Fix compile warning in ExecutionEnvironment

This commit is contained in:
rdb 2020-12-22 23:14:59 +01:00
parent 30bca7a119
commit 1b8c4e0029

View File

@ -223,6 +223,8 @@ ns_has_environment_variable(const string &var) const {
#ifndef PREREAD_ENVIRONMENT
return getenv(var.c_str()) != nullptr;
#else
return false;
#endif
}