More cleanups from clang warnings.

This commit is contained in:
Russ Rew 2015-08-02 17:23:32 -06:00
parent 0687dfe5a2
commit 2e029a3058
3 changed files with 4 additions and 4 deletions

View File

@ -1132,7 +1132,7 @@ copy_data(int igrp, int ogrp)
/* Count total number of dimensions in ncid and all its descendant subgroups */
int
count_dims(ncid) {
count_dims(int ncid) {
int numgrps;
int ndims;
NC_CHECK(nc_inq_ndims(ncid, &ndims));
@ -1727,4 +1727,4 @@ main(int argc, char**argv)
exit(EXIT_FAILURE);
exit(EXIT_SUCCESS);
}
END_OF_MAIN();
END_OF_MAIN()

View File

@ -514,7 +514,7 @@ main(
return 0;
}
END_OF_MAIN();
END_OF_MAIN()
void
init_netcdf(void) /* initialize global counts, flags */

View File

@ -242,4 +242,4 @@ main(
return 1;
return 0;
}
END_OF_MAIN();
END_OF_MAIN()