diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2023-12-08 11:48:10 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2023-12-08 11:48:10 +0200 |
commit | 94474015352361f35d08d2850cfa710e93856313 (patch) | |
tree | a97383a5fdb25f7e106e1d21fc941d62d0ed653a /libbuild2/cc/compile-rule.cxx | |
parent | 6b542899c41f8dafda07c01105ba0616984ec791 (diff) |
Workaround bogus initialized variable warning
Diffstat (limited to 'libbuild2/cc/compile-rule.cxx')
-rw-r--r-- | libbuild2/cc/compile-rule.cxx | 2 |
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) |