aboutsummaryrefslogtreecommitdiff
path: root/libbuild2
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2023-12-08 11:48:10 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2023-12-08 11:48:10 +0200
commit94474015352361f35d08d2850cfa710e93856313 (patch)
treea97383a5fdb25f7e106e1d21fc941d62d0ed653a /libbuild2
parent6b542899c41f8dafda07c01105ba0616984ec791 (diff)
Workaround bogus initialized variable warning
Diffstat (limited to 'libbuild2')
-rw-r--r--libbuild2/cc/compile-rule.cxx2
1 files changed, 1 insertions, 1 deletions
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)