From 7d6baa8ad9915fc58c4e992cc04d62681ddb559d Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 6 Jan 2010 09:16:40 +0100 Subject: General tidy-up --- src/hdf5-file.c | 3 --- src/image.h | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'src') diff --git a/src/hdf5-file.c b/src/hdf5-file.c index 3f3747ca..22dd0925 100644 --- a/src/hdf5-file.c +++ b/src/hdf5-file.c @@ -62,8 +62,6 @@ int hdfile_set_image(struct hdfile *f, const char *path) hsize_t size[2]; hsize_t max_size[2]; - STATUS("Selecting %s\n", path); - f->dh = H5Dopen(f->fh, path, H5P_DEFAULT); if ( f->dh < 0 ) { ERROR("Couldn't open dataset\n"); @@ -300,7 +298,6 @@ char *hdfile_get_string_value(struct hdfile *f, const char *name) herr_t r; char *tmp; hid_t th; - hsize_t size; size = H5Dget_storage_size(dh); diff --git a/src/image.h b/src/image.h index 65b4c31d..1dcfdc3b 100644 --- a/src/image.h +++ b/src/image.h @@ -65,7 +65,7 @@ struct threevec struct image { int *hdr; /* Actual counts */ - int16_t *data; /* Integer counts after bloom */ + int16_t *data; /* Integer counts after bloom */ double complex *sfacs; struct threevec *qvecs; double *twotheta; -- cgit v1.2.3