From: Jim Meyering Date: Sun, 26 Jan 1997 04:48:29 +0000 (+0000) Subject: (parse_options): Remove unnecessary goto and label. X-Git-Tag: TEXTUTILS-1_21a~7 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=73ed11f2b736fff7e65f79d34ed5d30eababedf1;p=thirdparty%2Fcoreutils.git (parse_options): Remove unnecessary goto and label. --- diff --git a/src/tail.c b/src/tail.c index 2aa1b80cac..06903e0009 100644 --- a/src/tail.c +++ b/src/tail.c @@ -1002,12 +1002,8 @@ parse_options (int argc, char **argv, break; case 'c': - count_lines = 0; - goto getnum; - case 'n': - count_lines = 1; - getnum: + count_lines = (c == 'n'); if (*optarg == '+') from_start = 1; else if (*optarg == '-')