Commit 8b976586 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Fix compiler warning: no return statement in function returning non-void.

parent c44c98da
......@@ -20,7 +20,7 @@
#include "cdo_int.h"
#include "pstream.h"
void *printAtts(int vlistID, int varOrGlobal, int natts, char *argument)
void printAtts(int vlistID, int varOrGlobal, int natts, char *argument)
{
char stdname[CDI_MAX_NAME], longname[CDI_MAX_NAME], units[CDI_MAX_NAME];
int found = 0;
......@@ -109,7 +109,7 @@ void *printAtts(int vlistID, int varOrGlobal, int natts, char *argument)
}
}
void *check_varname_and_print(int vlistID, int nvars, char *checkvarname, char *attname)
void check_varname_and_print(int vlistID, int nvars, char *checkvarname, char *attname)
{
int varID = 0;
for ( varID = 0; varID < nvars; varID++ )
......
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