aboutsummaryrefslogtreecommitdiff
path: root/libbuild2
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-04-20 11:16:20 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-04-20 11:16:20 +0200
commit834152a6e3f3e8459b53e49370bfdd82685a700d (patch)
treeadd6f4cbeea29a217b0958f2548d458701d0a9f6 /libbuild2
parentf092670a89ce4eb213cf295406996fe97d257d21 (diff)
Disable bunch of bogus GCC warnings
Diffstat (limited to 'libbuild2')
-rw-r--r--libbuild2/bin/utility.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/libbuild2/bin/utility.cxx b/libbuild2/bin/utility.cxx
index 11230cd..cb06287 100644
--- a/libbuild2/bin/utility.cxx
+++ b/libbuild2/bin/utility.cxx
@@ -14,9 +14,6 @@ namespace build2
lorder
link_order (const scope& bs, otype ot)
{
- // Initialize to suppress 'may be used uninitialized' warning produced
- // by MinGW GCC 5.4.0.
- //
const char* var (nullptr);
switch (ot)