projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6390686
)
(parse_options): Remove unnecessary goto and label.
author
Jim Meyering
<jim@meyering.net>
Sun, 26 Jan 1997 04:48:29 +0000
(
04:48
+0000)
committer
Jim Meyering
<jim@meyering.net>
Sun, 26 Jan 1997 04:48:29 +0000
(
04:48
+0000)
src/tail.c
patch
|
blob
|
history
diff --git
a/src/tail.c
b/src/tail.c
index
2aa1b80
..
06903e0
100644
(file)
--- 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 == '-')