aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-07-25 16:14:17 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-07-25 16:14:17 +0200
commitbd9c21a84b62553000fb1e6d23fac4c58febf348 (patch)
tree336e470ec5995beffe94292a46f77b0ade4c4322
parent4af8a3a2f29fc1d59760382622354be4c4b31a6c (diff)
Remove unnecessary initialization (which also helps GCC 4.9 and VC 14u3)
-rw-r--r--build2/cc/parser.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/cc/parser.cxx b/build2/cc/parser.cxx
index e541d78..273a220 100644
--- a/build2/cc/parser.cxx
+++ b/build2/cc/parser.cxx
@@ -21,7 +21,7 @@ namespace build2
lexer l (is, name);
l_ = &l;
- translation_unit u {{"", false, {}}};
+ translation_unit u;
u_ = &u;
// If the source has errors then we want the compiler to issues the