mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-27 15:25:54 -04:00
dtoolutil: Fix compile warning in ExecutionEnvironment
This commit is contained in:
parent
30bca7a119
commit
1b8c4e0029
@ -223,6 +223,8 @@ ns_has_environment_variable(const string &var) const {
|
|||||||
|
|
||||||
#ifndef PREREAD_ENVIRONMENT
|
#ifndef PREREAD_ENVIRONMENT
|
||||||
return getenv(var.c_str()) != nullptr;
|
return getenv(var.c_str()) != nullptr;
|
||||||
|
#else
|
||||||
|
return false;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user