misc.c (gnat_handle_option): Replace set_Wunused by warn_unused.

2008-08-09  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>

ada/
	* gcc-interface/misc.c (gnat_handle_option): Replace set_Wunused
	by warn_unused.

From-SVN: r138903
parent b13e752f
2008-08-09 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
* gcc-interface/misc.c (gnat_handle_option): Replace set_Wunused
by warn_unused.
2008-08-08 Ed Schonberg <schonberg@adacore.com>
* freeze.adb (Generate_Prim_Op_References): New procedure, abstracted
......@@ -240,7 +240,7 @@ gnat_handle_option (size_t scode, const char *arg, int value)
break;
case OPT_Wall:
set_Wunused (value);
warn_unused = value;
/* We save the value of warn_uninitialized, since if they put
-Wuninitialized on the command line, we need to generate a
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment