aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-09-03 17:08:52 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-09-03 17:08:52 +0200
commitd6b350c8a09d7ba9622b94bff37900999f255c82 (patch)
tree5597fb20697c0fe462d855485a573ade2a425a7c
parentc4c11893343b7987e46d9f287f4b089d2ddbf315 (diff)
Fix uninitialized variable warning
-rw-r--r--build2/cc/common.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/cc/common.cxx b/build2/cc/common.cxx
index 41e34da..c9b9108 100644
--- a/build2/cc/common.cxx
+++ b/build2/cc/common.cxx
@@ -95,7 +95,7 @@ namespace build2
}
bool impl (proc_impl && proc_impl (l, la));
- bool cc, same;
+ bool cc (false), same (false);
auto& vp (var_pool);
lookup c_e_libs;