mirror of https://github.com/CGAL/cgal
Merge pull request #65 from GilesBathgate/fix-use-of-uninitialized-variable
Fix use of uninitialized variable in File_scanner_OFF.h
This commit is contained in:
commit
ff6238e478
|
|
@ -535,7 +535,7 @@ public:
|
||||||
//split it into strings
|
//split it into strings
|
||||||
std::istringstream iss(col);
|
std::istringstream iss(col);
|
||||||
//holds the rgb values
|
//holds the rgb values
|
||||||
unsigned char rgb[3];
|
unsigned char rgb[3]{};
|
||||||
int index =0;
|
int index =0;
|
||||||
//split the string into numbers
|
//split the string into numbers
|
||||||
while(iss>>color_info){
|
while(iss>>color_info){
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue