Commit be70b30a authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

cdi.h cleanup

parent 05a07921
......@@ -201,8 +201,8 @@ extern "C" {
#define CALENDAR_366DAYS 4
#define CALENDAR_NONE 5
/* parallel IO IOMode */
/* parallel IO IOMode */
#define PIO_NONE 0
#define PIO_MPI 1
#define PIO_WRITER 2
......@@ -211,9 +211,9 @@ extern "C" {
#define PIO_MINIOMODE PIO_NONE
#define PIO_MAXIOMODE PIO_FPGUARD
#define PIO_MINIOMODEWITHSPECIALPROCS PIO_WRITER
/* parallel IO routines */
#define PIO_MINIOMODEWITHSPECIALPROCS PIO_WRITER
/* parallel IO routines */
void pioEndDef ( void );
void pioEndTimestepping ( void );
......@@ -224,7 +224,7 @@ int pioInqVarDecoOff ( int, int );
void pioNamespaceSetActive ( int );
void pioWriteTimestep ( int, int, int );
/* CDI control routines */
/* CDI control routines */
void cdiReset(void);
......
......@@ -2807,8 +2807,7 @@ int cdfDefVar(int streamID, int varID)
if ( checkname ) iz++;
if ( iz > 99 )
Error("Double entry of variable name '%s'!", name);
if ( iz >= 256 ) Error("Double entry of variable name '%s'!", name);
}
if ( strcmp(name, varname) != 0 )
......@@ -2850,7 +2849,7 @@ int cdfDefVar(int streamID, int varID)
if ( checkname ) iz++;
if ( iz > 99 ) break;
if ( iz >= 256 ) break;
}
name = varname;
......
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