fix use of non-initialized variable warning

This commit is contained in:
Sébastien Loriot 2015-07-21 09:11:47 +02:00
parent 5f9b2d28b3
commit a954ce97dc
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ file_input(std::list<Point>& L)
int n;
is >> n;
std::cout << "Reading " << n << " points" << std::endl;
Point_base p;
Point_base p(0,0,0);
for( ; n>0 ; n--)
{
is >> p;