diff options
author | Thomas White <taw@physics.org> | 2021-04-28 18:54:23 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2021-04-28 18:54:23 +0200 |
commit | 234d39caf018ed6b22e7122a725d0efd3b01752e (patch) | |
tree | 11214c852b29dd6a6109484557d823cf5a3e7e4b /libcrystfel/src | |
parent | 0ef5a4eb5da6dedf8e98d9adba22e6030d7eb86c (diff) |
MsgPack: Remove warning about multiple objects
If this happens once, it'll probably happen every frame. This makes
things very noisy.
Diffstat (limited to 'libcrystfel/src')
-rw-r--r-- | libcrystfel/src/image-msgpack.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libcrystfel/src/image-msgpack.c b/libcrystfel/src/image-msgpack.c index 920634fe..5744eff7 100644 --- a/libcrystfel/src/image-msgpack.c +++ b/libcrystfel/src/image-msgpack.c @@ -60,10 +60,6 @@ static msgpack_object *find_main_object(msgpack_unpacked *unpacked) ERROR("No array elements in MessagePack object?\n"); return NULL; } - if ( n_obj > 1 ) { - ERROR("WARNING: Multiple (%i) items in MessagePack object - " - "ignoring all but the first one.\n", n_obj); - } return &unpacked->data.via.array.ptr[0]; } |