mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-04-18 17:40:55 +08:00
[svn-r7301] Purpose:
Code cleanup Description: Remove comments and redundant code. Platforms tested: h5committested
This commit is contained in:
parent
3852a59d59
commit
e1c6486a01
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user