diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2023-03-10 19:57:33 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2023-03-17 14:19:49 +0300 |
commit | ecb90f473285119fdb190f9a727a2a03a2546a5c (patch) | |
tree | 6d6d61bae0f9f1bc5ef3d72efda69314f7c14c1f | |
parent | afd0b8699b009b96be34ba2a20441ecb223957ce (diff) |
Fix GCC 'storing the address of local variable' warning
-rw-r--r-- | bpkg/utility.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bpkg/utility.cxx b/bpkg/utility.cxx index 96fda0f..ec95264 100644 --- a/bpkg/utility.cxx +++ b/bpkg/utility.cxx @@ -381,7 +381,7 @@ namespace bpkg // example, if we installed into /opt/build2 and run bpkg with absolute // path (and without PATH), then bpkg will be able to find "its" b. // - return process::path_search (b, exec_dir); + return process::path_search (b, true /* init */, exec_dir); } catch (const process_error& e) { |