Skip to content

Commit

Permalink
Merge pull request rui314#221 from sicherha/deduplicate-quick-exit
Browse files Browse the repository at this point in the history
Remove duplicate code
  • Loading branch information
rui314 authored Jan 1, 2022
2 parents 4ccbd24 + ebe982c commit ab83ed8
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions elf/cmdline.cc
Original file line number Diff line number Diff line change
Expand Up @@ -678,10 +678,6 @@ void parse_nonpositional_args(Context<E> &ctx,
ctx.arg.icf = false;
} else if (read_arg(ctx, args, arg, "image-base")) {
ctx.arg.image_base = parse_number(ctx, "image-base", arg);
} else if (read_flag(args, "quick-exit")) {
ctx.arg.quick_exit = true;
} else if (read_flag(args, "no-quick-exit")) {
ctx.arg.quick_exit = false;
} else if (read_flag(args, "print-icf-sections")) {
ctx.arg.print_icf_sections = true;
} else if (read_flag(args, "no-print-icf-sections")) {
Expand Down

0 comments on commit ab83ed8

Please sign in to comment.