aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2015-09-17 15:27:22 +0200
committerThomas White <taw@physics.org>2015-09-17 15:27:22 +0200
commite1ef59f84c8cf98fdb6d73d73abb84164092ff88 (patch)
treedd731917352ebd7f5081b3f3b5c8359ac55dce2b /libcrystfel
parent56faacae5596578d3cfc7cbe310131243dd23f5a (diff)
Formatting
Diffstat (limited to 'libcrystfel')
-rw-r--r--libcrystfel/src/stream.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libcrystfel/src/stream.c b/libcrystfel/src/stream.c
index 313e25e4..c29af4a0 100644
--- a/libcrystfel/src/stream.c
+++ b/libcrystfel/src/stream.c
@@ -115,7 +115,7 @@ static int read_peaks(FILE *fh, struct image *image)
} else {
image_add_feature(image->features, x, y,
- image, intensity, NULL);
+ image, intensity, NULL);
}
}
@@ -1061,15 +1061,13 @@ static void read_crystal(Stream *st, struct image *image, StreamReadFlags srf)
static int read_and_store_hdf5_field(struct image *image, const char *line)
{
-
char **new_fields;
if ( image->stuff_from_stream == NULL ) {
image->stuff_from_stream =
malloc(sizeof(struct stuff_from_stream));
if ( image->stuff_from_stream == NULL) {
- ERROR("Failed reading hdf5 entries from "
- "stream\n");
+ ERROR("Failed reading hdf5 entries from stream\n");
return 1;
}
image->stuff_from_stream->fields = NULL;