diff options
author | Arslan Urtashev <[email protected]> | 2022-02-10 16:48:55 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:48:55 +0300 |
commit | 1136f2ce7cce7bcc84e695272c0d92d4eb900c2b (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /util/system/env.cpp | |
parent | b97740540e7302cec9efa181e106ae1990a0cc1c (diff) |
Restoring authorship annotation for Arslan Urtashev <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'util/system/env.cpp')
-rw-r--r-- | util/system/env.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/util/system/env.cpp b/util/system/env.cpp index 19d570532a4..ead9b566a5f 100644 --- a/util/system/env.cpp +++ b/util/system/env.cpp @@ -26,9 +26,9 @@ TString GetEnv(const TString& key, const TString& def) { size_t len = GetEnvironmentVariableA(key.data(), nullptr, 0); if (len == 0) { - if (GetLastError() == ERROR_ENVVAR_NOT_FOUND) { - return def; - } + if (GetLastError() == ERROR_ENVVAR_NOT_FOUND) { + return def; + } return TString{}; } |