diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2008-09-10 19:10:41 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2008-09-10 19:10:41 (GMT) |
commit | c465e18a68f2a77550d93366a5b6c8fac2e24502 (patch) | |
tree | bd3649f75f1507040b68d8e15c63333600816360 /src/H5FDspace.c | |
parent | 068620ea815d8590982069cfb6374e07d3c8e1e6 (diff) | |
download | hdf5-c465e18a68f2a77550d93366a5b6c8fac2e24502.zip hdf5-c465e18a68f2a77550d93366a5b6c8fac2e24502.tar.gz hdf5-c465e18a68f2a77550d93366a5b6c8fac2e24502.tar.bz2 |
[svn-r15609] Description:
Omnibus compiler warning cleanup & some reformatting also.
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.c | 16 |
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; |