aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-01-06 09:16:40 +0100
committerThomas White <taw@physics.org>2010-01-06 09:16:40 +0100
commit7d6baa8ad9915fc58c4e992cc04d62681ddb559d (patch)
tree99a1f7e0d42e7c3c7cc1cd593554c225eb7ef13d
parent8a89c359ebb241d36db89acf188d130691663e51 (diff)
General tidy-up
-rw-r--r--src/hdf5-file.c3
-rw-r--r--src/image.h2
2 files changed, 1 insertions, 4 deletions
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;