summaryrefslogtreecommitdiffstats
path: root/src/H5C.c
diff options
context:
space:
mode:
authorMike McGreevy <mamcgree@hdfgroup.org>2010-06-16 19:26:17 (GMT)
committerMike McGreevy <mamcgree@hdfgroup.org>2010-06-16 19:26:17 (GMT)
commita0e6e24ff54105ed606d6a7ef317c98864dbe90a (patch)
tree513569c0180d98abf12fa418c0a4518469943fb1 /src/H5C.c
parent1c8ec63a3deefff0123f15e94c9c8b9209046293 (diff)
downloadhdf5-a0e6e24ff54105ed606d6a7ef317c98864dbe90a.zip
hdf5-a0e6e24ff54105ed606d6a7ef317c98864dbe90a.tar.gz
hdf5-a0e6e24ff54105ed606d6a7ef317c98864dbe90a.tar.bz2
[svn-r19010] Purpose:
Clean up code. Description: Reorganize to remove mixed declarations and code (which should satisfy windows compile). Tested: jam, blue print, gandalf Windows 7 w/ VS Express 2008 (on VMware)
Diffstat (limited to 'src/H5C.c')
-rw-r--r--src/H5C.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5C.c b/src/H5C.c
index 9fa0c17..bfb7e05 100644
--- a/src/H5C.c
+++ b/src/H5C.c
@@ -3035,6 +3035,8 @@ H5C_protect(H5F_t * f,
size_t empty_space;
void * thing;
H5C_cache_entry_t * entry_ptr;
+ haddr_t tag = HADDR_UNDEF;
+ H5P_genplist_t *dxpl; /* dataset transfer property list */
void * ret_value; /* Return value */
FUNC_ENTER_NOAPI(H5C_protect, NULL)
@@ -3082,8 +3084,6 @@ H5C_protect(H5F_t * f,
the entry NOT been in the cache, tagging was still set up correctly
and it would have received a legal tag value after getting loaded
from disk. */
- haddr_t tag = HADDR_UNDEF;
- H5P_genplist_t *dxpl; /* dataset transfer property list */
/* Get the dataset transfer property list */
if(NULL == (dxpl = (H5P_genplist_t *)H5I_object_verify(primary_dxpl_id, H5I_GENPROP_LST)))