fix a used-before-set valgrind complaint

This commit is contained in:
John Cupitt 2013-07-08 10:29:13 +01:00
parent ae4922e480
commit 0d00b06731
1 changed files with 2 additions and 0 deletions

View File

@ -484,6 +484,8 @@ read_ascii_double( FILE *fp, const char whitemap[256], double *out )
char buf[256];
char *p;
*out = 0.0;
ch = skip_white( fp, whitemap );
if( ch == EOF ||