summaryrefslogtreecommitdiffstats
path: root/src/H5D.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5D.c')
-rw-r--r--src/H5D.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/H5D.c b/src/H5D.c
index d696f92..6cbcf2c 100644
--- a/src/H5D.c
+++ b/src/H5D.c
@@ -972,7 +972,6 @@ H5D_open(H5G_t *loc, const char *name)
H5D_t *dataset = NULL; /*the dataset which was found */
H5D_t *ret_value = NULL; /*return value */
intn i;
- H5F_t *f = NULL;
FUNC_ENTER(H5D_open, NULL);
@@ -980,7 +979,6 @@ H5D_open(H5G_t *loc, const char *name)
assert (loc);
assert (name && *name);
- f = H5G_fileof (loc);
if (NULL==(dataset = H5MM_calloc(sizeof(H5D_t)))) {
HGOTO_ERROR (H5E_RESOURCE, H5E_NOSPACE, NULL,
"memory allocation failed");