aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-11-06 15:49:36 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-11-06 15:49:36 +0200
commitf63face55f8d1c2d2f53666399f16fa86ed33faa (patch)
tree847919dafe99c8cec0324317ccd175235faebc76
parentcb432591ca4402fb0f423df336a9574a92f2b515 (diff)
Resolve warning
-rw-r--r--libbuild2/bin/init.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/bin/init.cxx b/libbuild2/bin/init.cxx
index 2acc262..166ec5d 100644
--- a/libbuild2/bin/init.cxx
+++ b/libbuild2/bin/init.cxx
@@ -181,7 +181,7 @@ namespace build2
// config.bin.target
//
- const target_triplet* tgt;
+ const target_triplet* tgt (nullptr);
{
const variable& var (ctx.var_pool["config.bin.target"]);