From: Alejandro Colomar Date: Mon, 3 Jan 2022 17:19:29 +0000 (+0100) Subject: tee.2: Remove unnecessary else X-Git-Tag: man-pages-5.19-rc1~806 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4208f16e3ba0ded08cd10b46f2df3e2bfae1f2e5;p=thirdparty%2Fman-pages.git tee.2: Remove unnecessary else Both continue and exit(3) jump out of the normal flow, so there's no need for an else. Signed-off-by: Alejandro Colomar --- diff --git a/man2/tee.2 b/man2/tee.2 index 4e57925b35..cd7c2d72de 100644 --- a/man2/tee.2 +++ b/man2/tee.2 @@ -189,9 +189,9 @@ main(int argc, char *argv[]) continue; perror("tee"); exit(EXIT_FAILURE); - } else - if (len == 0) - break; + } + if (len == 0) + break; /* * Consume stdin by splicing it to a file.