summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2010-01-08 19:17:12 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2010-01-08 19:17:12 (GMT)
commit3794f9a78a122ed2515541b5507ce3b633884db0 (patch)
tree0b2c1e3a99f8fe9fa2161aa909f6c0f0a0c5eddb
parent326fa329675b34d97987268eee981d12924e1ca6 (diff)
downloadhdf5-3794f9a78a122ed2515541b5507ce3b633884db0.zip
hdf5-3794f9a78a122ed2515541b5507ce3b633884db0.tar.gz
hdf5-3794f9a78a122ed2515541b5507ce3b633884db0.tar.bz2
[svn-r18080] Description:
Correct Coverity issue #4 by removing impossible to reach code. Tested on: Mac OS X/32 10.6.3 (amazon) w/debug
-rw-r--r--src/H5HFhdr.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/H5HFhdr.c b/src/H5HFhdr.c
index c326a59..3665a09 100644
--- a/src/H5HFhdr.c
+++ b/src/H5HFhdr.c
@@ -132,10 +132,6 @@ H5HF_hdr_alloc(H5F_t *f)
ret_value = hdr;
done:
- if(!ret_value && hdr)
- if(H5HF_hdr_free(hdr) < 0)
- HDONE_ERROR(H5E_HEAP, H5E_CANTRELEASE, NULL, "unable to release fractal heap header")
-
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5HF_hdr_alloc() */