aboutsummaryrefslogtreecommitdiff
path: root/src/hdf5-file.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-01-19 17:30:52 +0100
committerThomas White <taw@physics.org>2010-01-19 17:30:52 +0100
commitb04befccb98fe1bf32829168c8f95b7762b8162e (patch)
treef59e1620e523f59358e1af440d5d2ec9440033d8 /src/hdf5-file.c
parent1c6826a22a0240e4469de616a2cc7287344096cc (diff)
More cleanup
Diffstat (limited to 'src/hdf5-file.c')
-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);