diff options
author | Shreenidhi Shedi <sshedi@vmware.com> | 2021-09-03 08:06:53 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2021-09-03 08:08:47 +0300 |
commit | 86dacfe3e060ce95d5a2c0c5ec01f6437b0b6089 (patch) | |
tree | ee9cfe1ec32a891f7cd58785c0b679e4db89562d /src/util.c | |
parent | 4d169305dcb34137dc41acc761d8703eae2c63bf (diff) | |
download | cpio-86dacfe3e060ce95d5a2c0c5ec01f6437b0b6089.tar.gz cpio-86dacfe3e060ce95d5a2c0c5ec01f6437b0b6089.tar.bz2 |
Remove redundant condition check
* src/util.c (tape_empty_output_buffer): Fix condition.
Diffstat (limited to 'src/util.c')
-rw-r--r-- | src/util.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -79,8 +79,7 @@ tape_empty_output_buffer (int out_des) if (output_is_special && (bytes_written >= 0 - || (bytes_written < 0 - && (errno == ENOSPC || errno == EIO || errno == ENXIO)))) + || (errno == ENOSPC || errno == EIO || errno == ENXIO))) { get_next_reel (out_des); if (bytes_written > 0) |