From e1ef59f84c8cf98fdb6d73d73abb84164092ff88 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 17 Sep 2015 15:27:22 +0200 Subject: Formatting --- libcrystfel/src/stream.c | 6 ++---- 1 file 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; -- cgit v1.2.3