From 94474015352361f35d08d2850cfa710e93856313 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 8 Dec 2023 11:48:10 +0200 Subject: Workaround bogus initialized variable warning --- libbuild2/cc/compile-rule.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libbuild2') diff --git a/libbuild2/cc/compile-rule.cxx b/libbuild2/cc/compile-rule.cxx index 985b171..d40638c 100644 --- a/libbuild2/cc/compile-rule.cxx +++ b/libbuild2/cc/compile-rule.cxx @@ -6137,7 +6137,7 @@ namespace build2 if (m.name == "std" || m.name == "std.compat") { - otype ot; + otype ot (otype::e); const target* mt (nullptr); switch (ctype) -- cgit v1.1