mirror of
https://https.git.savannah.gnu.org/git/patch.git
synced 2026-01-27 01:44:34 +00:00
Omit needless get_some_switches code
* src/patch.c (get_some_switches): Remove unnecessary initialization and testing.
This commit is contained in:
parent
ee3cc4016d
commit
606c09176c
@ -916,12 +916,6 @@ static void
|
||||
get_some_switches (void)
|
||||
{
|
||||
int optc;
|
||||
|
||||
free (outrej.name);
|
||||
outrej.name = nullptr;
|
||||
outrej.exists = nullptr;
|
||||
if (optind == Argc)
|
||||
return;
|
||||
while (0 <= (optc = getopt_long (Argc, Argv, shortopts, longopts, nullptr)))
|
||||
switch (optc) {
|
||||
case 'b':
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user