initialize some local variables

This commit is contained in:
Efi Fogel 2009-07-01 07:39:37 +00:00
parent 107fe21485
commit c29ca3d3cc
2 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ bool test_one_file(std::ifstream& inp)
Envelope_test lu_alg_test; Envelope_test lu_alg_test;
std::vector<Xy_monotone_surface_3> surfaces; std::vector<Xy_monotone_surface_3> surfaces;
int spheres_num; int spheres_num = 0;
inp >> spheres_num; inp >> spheres_num;
Rat_point_3 a; Rat_point_3 a;
Rational sr; Rational sr;

View File

@ -42,7 +42,7 @@ bool test_one_file(std::ifstream& inp)
Traits_3 traits; Traits_3 traits;
std::vector<Surface_3> triangles; std::vector<Surface_3> triangles;
int triangles_num; int triangles_num = 0;
inp >> triangles_num; inp >> triangles_num;
std::cout << "number of triangles to read: " << triangles_num << std::endl; std::cout << "number of triangles to read: " << triangles_num << std::endl;
Point_3 a,b,c; Point_3 a,b,c;