mirror of
https://git.tukaani.org/xz.git
synced 2025-04-01 21:30:58 +00:00
Fix wrong assertion.
This was added in 455e68c030fde8a8c2f5e254c3b3ab9489bf3735.
This commit is contained in:
parent
9d67588c15
commit
dd7c3841ff
@ -253,9 +253,10 @@ main(int argc, char **argv)
|
|||||||
// All files have now been handled. If in --list mode, display
|
// All files have now been handled. If in --list mode, display
|
||||||
// the totals before exiting. We don't have signal handlers
|
// the totals before exiting. We don't have signal handlers
|
||||||
// enabled in --list mode, so we don't need to check user_abort.
|
// enabled in --list mode, so we don't need to check user_abort.
|
||||||
assert(!user_abort);
|
if (opt_mode == MODE_LIST) {
|
||||||
if (opt_mode == MODE_LIST)
|
assert(!user_abort);
|
||||||
list_totals();
|
list_totals();
|
||||||
|
}
|
||||||
|
|
||||||
// If we have got a signal, raise it to kill the program instead
|
// If we have got a signal, raise it to kill the program instead
|
||||||
// of calling tuklib_exit().
|
// of calling tuklib_exit().
|
||||||
|
Loading…
x
Reference in New Issue
Block a user