aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/hdf5-file.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/hdf5-file.c b/src/hdf5-file.c
index 1abd1f72..ceb4c0ab 100644
--- a/src/hdf5-file.c
+++ b/src/hdf5-file.c
@@ -503,7 +503,6 @@ int hdfile_set_first_image(struct hdfile *f, const char *group)
for ( i=0; i<n; i++ ) {
if ( is_image[i] ) {
- int j;
hdfile_set_image(f, names[i]);
for ( j=0; j<n; j++ ) free(names[j]);
free(is_image);
@@ -512,7 +511,6 @@ int hdfile_set_first_image(struct hdfile *f, const char *group)
return 0;
} else if ( is_group[i] ) {
if ( !hdfile_set_first_image(f, names[i]) ) {
- int j;
for ( j=0; j<n; j++ ) free(names[j]);
free(is_image);
free(is_group);