summaryrefslogtreecommitdiff
path: root/gcc/opts.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/opts.c')
-rw-r--r--gcc/opts.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/gcc/opts.c b/gcc/opts.c
index 0911d388ff8..25dacf2131d 100644
--- a/gcc/opts.c
+++ b/gcc/opts.c
@@ -118,7 +118,7 @@ find_opt (const char *input, int lang_mask)
/* Handle the switch beginning at ARGV, with ARGC remaining. */
int
-handle_option (int argc, char **argv, int lang_mask)
+handle_option (int argc ATTRIBUTE_UNUSED, char **argv, int lang_mask)
{
size_t opt_index;
const char *opt, *arg = 0;
@@ -127,10 +127,6 @@ handle_option (int argc, char **argv, int lang_mask)
int result = 0, temp;
const struct cl_option *option;
- /* If the front end isn't yet converted, use the old hook. */
- if (!lang_hooks.handle_option)
- return (*lang_hooks.decode_option) (argc, argv);
-
opt = argv[0];
/* Interpret "-" or a non-switch as a file name. */