aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2022-06-15 19:12:24 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2022-06-15 19:12:24 +0300
commit4efa50de798dca461b16e51357c7faa83054e035 (patch)
tree6a8ef3a8d50b4ef6c18341ffbd24cf147268df70
parent9bed19ed335290b445952541509022c1cb474197 (diff)
Fix crash
-rw-r--r--bpkg/package-skeleton.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/bpkg/package-skeleton.cxx b/bpkg/package-skeleton.cxx
index 3bfd634..bc7120c 100644
--- a/bpkg/package-skeleton.cxx
+++ b/bpkg/package-skeleton.cxx
@@ -1971,7 +1971,7 @@ namespace bpkg
// collect_config(). So instead of calling merge_cmd_vars() we will do
// our own (but consistent) thing.
//
- const strings* cmd_vars;
+ const strings* cmd_vars (nullptr);
{
assert (!cmd_vars_cache_); // Sanity check (we are always first).