aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build2/cc/compile-rule.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/cc/compile-rule.cxx b/build2/cc/compile-rule.cxx
index 794b64e..9c8e376 100644
--- a/build2/cc/compile-rule.cxx
+++ b/build2/cc/compile-rule.cxx
@@ -93,7 +93,7 @@ namespace build2
static pair<unit_type, module_info>
to_module_info (const string& s)
{
- unit_type ut;
+ unit_type ut (unit_type::non_modular);
module_info mi;
for (size_t b (0), e (0), n (s.size ()), m; e < n; )