Fix uninitialized variable warnings in GCC 4.9

This commit is contained in:
Ion Gaztañaga
2015-06-10 17:57:24 +02:00
parent 196914b7a0
commit 67bd18d04e

View File

@@ -313,7 +313,7 @@ int main()
{
container<int> 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<int> c;
{
int x;
int x = 0;
c.push_back(x);
assert(c.construction_type() == Copied);
c.insert(c.begin(), c.construction_type());