Commit 2f379dea authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

gridFromH5file(): print warning message only in verbose mode

parent c855999f
......@@ -340,7 +340,7 @@ int gridFromH5file(const char *gridfile)
if ( rank != 2 )
{
cdoWarning("Unexpected rank = %d!", rank);
if ( cdoVerbose ) cdoWarning("Unexpected rank = %d!", rank);
goto RETURN;
}
/*
......@@ -467,7 +467,7 @@ int gridFromH5file(const char *gridfile)
if ( rank != 2 )
{
cdoWarning("Unexpected rank = %d!", rank);
if ( cdoVerbose ) cdoWarning("Unexpected rank = %d!", rank);
goto RETURN;
}
/*
......
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