aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-10-07 21:15:05 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-10-07 21:15:05 +0200
commit9a9967c78420f6b3aa7c4f446b8ce2f71bbb9809 (patch)
treec63f9df89107d953ef440f3a63c1ceec2a455b3c /libbuild2/cc
parentf745d8ba2b7d6fd6a725af5c58cd5f057fca8191 (diff)
Fix bug in internal scope logic
Diffstat (limited to 'libbuild2/cc')
-rw-r--r--libbuild2/cc/module.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/cc/module.hxx b/libbuild2/cc/module.hxx
index df7fc70..a91d723 100644
--- a/libbuild2/cc/module.hxx
+++ b/libbuild2/cc/module.hxx
@@ -65,7 +65,7 @@ namespace build2
//
using internal_scope = data::internal_scope;
optional<internal_scope> iscope;
- const scope* iscope_current;
+ const scope* iscope_current = nullptr;
// Temporary storage for data::sys_*_dirs_*.
//