aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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_*.
//