diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2021-10-07 21:15:05 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2021-10-07 21:15:05 +0200 |
commit | 9a9967c78420f6b3aa7c4f446b8ce2f71bbb9809 (patch) | |
tree | c63f9df89107d953ef440f3a63c1ceec2a455b3c | |
parent | f745d8ba2b7d6fd6a725af5c58cd5f057fca8191 (diff) |
Fix bug in internal scope logic
-rw-r--r-- | libbuild2/cc/module.hxx | 2 |
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_*. // |