diff options
Diffstat (limited to 'src/lib/util.cc')
| -rw-r--r-- | src/lib/util.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/util.cc b/src/lib/util.cc index 105f109a3..c13d292fd 100644 --- a/src/lib/util.cc +++ b/src/lib/util.cc @@ -1134,8 +1134,7 @@ setup_grok_library_path() { static std::string old_path; if (old_path.empty()) { - auto const old = getenv("LD_LIBRARY_PATH"); - if (old) { + if (auto const old = getenv("LD_LIBRARY_PATH")) { old_path = old; } } |
