summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-08-08 18:54:54 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-08-08 18:54:54 (GMT)
commite1c6486a01b865dd13c276b9b8ea5db89847abc2 (patch)
tree75daeb2fe8aa34981ce119ab2060c250b59d8941
parent3852a59d59a2f53866fc004de635180a3a40790a (diff)
downloadhdf5-e1c6486a01b865dd13c276b9b8ea5db89847abc2.zip
hdf5-e1c6486a01b865dd13c276b9b8ea5db89847abc2.tar.gz
hdf5-e1c6486a01b865dd13c276b9b8ea5db89847abc2.tar.bz2
[svn-r7301] Purpose:
Code cleanup Description: Remove comments and redundant code. Platforms tested: h5committested
-rw-r--r--src/H5CS.c2
-rw-r--r--src/H5FS.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/src/H5CS.c b/src/H5CS.c
index c39d497..e670c54 100644
--- a/src/H5CS.c
+++ b/src/H5CS.c
@@ -86,9 +86,7 @@ H5FS_get_stack(void)
fstack = pthread_getspecific(H5TS_funcstk_key_g);
if (!fstack) {
/* no associated value with current thread - create one */
- /* Where is it freed? */
fstack = (H5FS_t *)H5MM_calloc(sizeof(H5FS_t));
- fstack->nused = 0;
pthread_setspecific(H5TS_funcstk_key_g, (void *)fstack);
}
diff --git a/src/H5FS.c b/src/H5FS.c
index c39d497..e670c54 100644
--- a/src/H5FS.c
+++ b/src/H5FS.c
@@ -86,9 +86,7 @@ H5FS_get_stack(void)
fstack = pthread_getspecific(H5TS_funcstk_key_g);
if (!fstack) {
/* no associated value with current thread - create one */
- /* Where is it freed? */
fstack = (H5FS_t *)H5MM_calloc(sizeof(H5FS_t));
- fstack->nused = 0;
pthread_setspecific(H5TS_funcstk_key_g, (void *)fstack);
}