Commit 6f79662e authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

gridChangeType: write Message if CDI_Debug is set

parent 8bb7ff8d
......@@ -2171,9 +2171,8 @@ void gridChangeType(int gridID, int gridtype)
grid_check_ptr(gridID, gridptr);
Message("Changed grid type from %s to %s",
gridNamePtr(gridptr->type),
gridNamePtr(gridtype));
if ( CDI_Debug )
Message("Changed grid type from %s to %s", gridNamePtr(gridptr->type), gridNamePtr(gridtype));
gridptr->type = gridtype;
}
......
Markdown is supported
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