From 67bd18d04ed85414140456b63ba647cf2243d097 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ion=20Gazta=C3=B1aga?= Date: Wed, 10 Jun 2015 17:57:24 +0200 Subject: [PATCH] Fix uninitialized variable warnings in GCC 4.9 --- test/conversion_test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/conversion_test.cpp b/test/conversion_test.cpp index cf28d6a..8e901f8 100644 --- a/test/conversion_test.cpp +++ b/test/conversion_test.cpp @@ -313,7 +313,7 @@ int main() { container c; { - int x; + int x = 0; c.push_back(x); assert(c.construction_type() == Copied); c.insert(c.begin(), c.construction_type()); @@ -359,7 +359,7 @@ int main() { container c; { - int x; + int x = 0; c.push_back(x); assert(c.construction_type() == Copied); c.insert(c.begin(), c.construction_type());