aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-10-06 14:18:40 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:38 +0100
commit0537bcd892f2b37fd5aa4e5273b7ebb3ea593691 (patch)
tree9228695366e1ae382a818e4cc268830fe792a8c9 /src
parent6a39404f3500f5c0475030219d5b1d6fc93731ca (diff)
Remove unhelpful warning message
Diffstat (limited to 'src')
-rw-r--r--src/stream.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/stream.c b/src/stream.c
index bb25686e..af92fc14 100644
--- a/src/stream.c
+++ b/src/stream.c
@@ -341,10 +341,7 @@ int read_chunk(FILE *fh, struct image *image)
}
if ( strncmp(line, "camera_length_", 14) == 0 ) {
- if ( image->det == NULL ) {
- ERROR("Stream had a camera length, but "
- "geometry is not currently loaded.\n");
- } else {
+ if ( image->det != NULL ) {
int k;
char name[1024];