Commit ee10c4b4 authored by Johan Richard's avatar Johan Richard
Browse files

Add warning when multiple empty lines in catalog

parent 9d01f2fa
......@@ -139,7 +139,11 @@ void f_shape( long int *istart,
if( n_scan != 8 ) e_scan = 1;
}
if (n_scan == -1) fprintf(stderr, "WARNING: ignoring empty line while reading catalog %s.\n", name);
if (n_scan == -1)
{
fprintf(stderr, "WARNING: ignoring empty line while reading catalog %s.\n", name);
e_scan=0;
}
else
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment