summaryrefslogtreecommitdiffstats
path: root/src/H5FDspace.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2008-09-10 19:53:38 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2008-09-10 19:53:38 (GMT)
commitd517c77bc0fe9c9dbfd013d720e1533289decd9f (patch)
tree97f369888eccbb8455ebbc2fd6de9f6834f6b433 /src/H5FDspace.c
parentfc7993a9f068319ed35f13fd153feeb5da3d86a7 (diff)
downloadhdf5-d517c77bc0fe9c9dbfd013d720e1533289decd9f.zip
hdf5-d517c77bc0fe9c9dbfd013d720e1533289decd9f.tar.gz
hdf5-d517c77bc0fe9c9dbfd013d720e1533289decd9f.tar.bz2
[svn-r15610] Description:
Bring r15609 back from trunk: Omnibus compiler warning cleanup & some formatting happiness. Tested on: Mac OS X/32 10.5.4 (amazon) Too minor to require h5committest
Diffstat (limited to 'src/H5FDspace.c')
-rw-r--r--src/H5FDspace.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/H5FDspace.c b/src/H5FDspace.c
index 9540c8c..2a260f8 100644
--- a/src/H5FDspace.c
+++ b/src/H5FDspace.c
@@ -167,7 +167,7 @@ H5FD_free_freelist(H5FD_t *file)
nbytes += cur->size;
#endif /* H5FD_ALLOC_DEBUG */
next = cur->next;
- H5FL_FREE(H5FD_free_t, cur);
+ (void)H5FL_FREE(H5FD_free_t, cur);
} /* end for */
file->fl[i] = NULL;
@@ -353,7 +353,7 @@ HDfprintf(stderr, "%s: type = %u, size = %Hu\n", FUNC, (unsigned)type, size);
else
file->fl[mapped_type] = cur->next;
- H5FL_FREE(H5FD_free_t, cur);
+ (void)H5FL_FREE(H5FD_free_t, cur);
if(size == file->maxsize)
file->maxsize = 0; /*unknown*/
@@ -416,7 +416,7 @@ HDfprintf(stderr, "%s: Exact size match (aligned)\n", FUNC);
else
file->fl[mapped_type] = cur->next;
- H5FL_FREE(H5FD_free_t, cur);
+ (void)H5FL_FREE(H5FD_free_t, cur);
if(size == file->maxsize)
file->maxsize = 0; /*unknown*/
@@ -497,7 +497,7 @@ HDfprintf(stderr, "%s: Splitting %Hu byte sized block\n", FUNC, best->size);
best->next = tmp;
} else {
/* no tail piece */
- H5FL_FREE(H5FD_free_t,tmp);
+ (void)H5FL_FREE(H5FD_free_t,tmp);
}
best->size = head;
@@ -1222,7 +1222,7 @@ HDfprintf(stderr, "%s: mapped_type = %u\n", FUNC, (unsigned)mapped_type);
prev = last_prev;
/* Free the memory for the merged block */
- H5FL_FREE(H5FD_free_t, last);
+ (void)H5FL_FREE(H5FD_free_t, last);
} /* end if */
/* Adjust the address and size of the block found */
@@ -1256,7 +1256,7 @@ HDfprintf(stderr, "%s: mapped_type = %u\n", FUNC, (unsigned)mapped_type);
prev = last_prev;
/* Free the memory for the merged block */
- H5FL_FREE(H5FD_free_t, last);
+ (void)H5FL_FREE(H5FD_free_t, last);
} /* end if */
/* Adjust the size of the block found */
@@ -1331,7 +1331,7 @@ HDfprintf(stderr, "%s: Reducing file size to = %a\n", FUNC, last->addr);
file->fl[mapped_type] = last->next;
if(file->maxsize == last->size)
file->maxsize = 0; /*unknown*/
- H5FL_FREE(H5FD_free_t, last);
+ (void)H5FL_FREE(H5FD_free_t, last);
} /* end if */
} /* end if */
} else if(file->cls->free) {
@@ -1614,7 +1614,7 @@ HDfprintf(stderr, "%s: type = %u, addr = %a, size = %Hu, extra_requested = %Hu\n
prev->next = curr->next;
/* Free the memory for the used block */
- H5FL_FREE(H5FD_free_t, curr);
+ (void)H5FL_FREE(H5FD_free_t, curr);
} /* end if */
else {
curr->addr += extra_requested;