fixup: remove warning entirely

fixes 72e1e23051 (r1124211067)
This commit is contained in:
Jonas Chevalier 2023-03-03 11:32:04 +01:00
parent 72e1e23051
commit b96d9c1687
No known key found for this signature in database
GPG key ID: 71BAF6D40C1D63D7

View file

@ -57,8 +57,6 @@ std::optional<std::string> getEnv(const std::string & key)
std::optional<std::string> getEnvNonEmpty(const std::string & key) {
auto value = getEnv(key);
if (value == "") {
// TODO: determine whether this should be a warning or an error.
warn("ignoring the '%1%' env variable, its value has been set to \"\"", key);
return std::nullopt;
} else {
return value;