mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-04-18 09:46:33 +02:00
(parse_options): Remove unnecessary goto and label.
This commit is contained in:
@@ -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 == '-')
|
||||
|
||||
Reference in New Issue
Block a user