commit | 0ed8ee4a371a11b91a68677cdff7a7efee79fe57 | [log] [tgz] |
---|---|---|
author | Yann Collet <cyan@fb.com> | Thu Dec 20 14:46:23 2018 -0800 |
committer | Yann Collet <cyan@fb.com> | Thu Dec 20 14:46:23 2018 -0800 |
tree | 2085c906173b5c362eb4a4620386dcaa710923c1 | |
parent | ffba1424067b04c9f6a8d75ae2786e0665f4c9c8 [diff] |
fixed wrong assert condition
diff --git a/programs/fileio.c b/programs/fileio.c index d4aea15..4070fa9 100644 --- a/programs/fileio.c +++ b/programs/fileio.c
@@ -2334,7 +2334,7 @@ } displayInfo(inFileName, &info, displayLevel); *total = FIO_addFInfo(*total, info); - assert(error>=0 || error<=1); + assert(error == info_success || error == info_frame_error); return error; } }