aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/bin
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/bin')
-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"]);