From 9a9967c78420f6b3aa7c4f446b8ce2f71bbb9809 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 7 Oct 2021 21:15:05 +0200 Subject: Fix bug in internal scope logic --- libbuild2/cc/module.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 iscope; - const scope* iscope_current; + const scope* iscope_current = nullptr; // Temporary storage for data::sys_*_dirs_*. // -- cgit v1.1