From 3794f9a78a122ed2515541b5507ce3b633884db0 Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Fri, 8 Jan 2010 14:17:12 -0500 Subject: [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 --- src/H5HFhdr.c | 4 ---- 1 file changed, 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() */ -- cgit v0.12