From b98a475f379e3ed678d31146b58819992903847e Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Mon, 17 Feb 2014 13:34:05 -0600 Subject: [PATCH] Minor tweaks to comments and LOG messages. --- libdispatch/dvlen.c | 8 -------- libsrc4/nc4attr.c | 4 ++-- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/libdispatch/dvlen.c b/libdispatch/dvlen.c index 13d3560f0..db7d1dd1d 100644 --- a/libdispatch/dvlen.c +++ b/libdispatch/dvlen.c @@ -26,10 +26,6 @@ because it can free an array of VLEN objects. \param vl pointer to the vlen object. \returns ::NC_NOERR No error. -\returns ::NC_EBADID Bad \ref ncid. -\returns ::NC_EBADTYPE Bad type id. -\returns ::NC_ENOTNC4 Not an netCDF-4 file, or classic model enabled. -\returns ::NC_EHDFERR An error was reported by the HDF5 layer. */ int nc_free_vlen(nc_vlen_t *vl) @@ -51,10 +47,6 @@ will free the vlen memory. \param vlens pointer to the vlen object. \returns ::NC_NOERR No error. -\returns ::NC_EBADID Bad \ref ncid. -\returns ::NC_EBADTYPE Bad type id. -\returns ::NC_ENOTNC4 Not an netCDF-4 file, or classic model enabled. -\returns ::NC_EHDFERR An error was reported by the HDF5 layer. */ int nc_free_vlens(size_t len, nc_vlen_t vlens[]) diff --git a/libsrc4/nc4attr.c b/libsrc4/nc4attr.c index 16c1f8533..7d4e18175 100644 --- a/libsrc4/nc4attr.c +++ b/libsrc4/nc4attr.c @@ -48,8 +48,8 @@ nc4_get_att(int ncid, NC *nc, int varid, const char *name, my_attnum = *attnum; assert(nc && NC4_DATA(nc)); - LOG((3, "nc4_get_att: ncid 0x%x varid %d name %s attnum %d mem_type %d", - ncid, varid, name, my_attnum, mem_type)); + LOG((3, "%s: ncid 0x%x varid %d name %s attnum %d mem_type %d", + __func__, ncid, varid, name, my_attnum, mem_type)); /* Find info for this file and group, and set pointer to each. */ h5 = NC4_DATA(nc);