From 5055e6ed71904e01fcaf2bd056b95876c3a9e29b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 6 May 2019 16:01:43 +0200 Subject: Fix uninitialized variable bug --- build2/cc/compile-rule.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build2') 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 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; ) -- cgit v1.1