fix a used-before-set valgrind complaint
This commit is contained in:
parent
ae4922e480
commit
0d00b06731
|
@ -484,6 +484,8 @@ read_ascii_double( FILE *fp, const char whitemap[256], double *out )
|
||||||
char buf[256];
|
char buf[256];
|
||||||
char *p;
|
char *p;
|
||||||
|
|
||||||
|
*out = 0.0;
|
||||||
|
|
||||||
ch = skip_white( fp, whitemap );
|
ch = skip_white( fp, whitemap );
|
||||||
|
|
||||||
if( ch == EOF ||
|
if( ch == EOF ||
|
||||||
|
|
Loading…
Reference in New Issue