This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] cleanup: Wunused - trivial


>>>>> "Aleksandar" == Aleksandar Ristovski <aristovski@qnx.com> writes:

Aleksandar> This is removing unused variables and allows compiling with
Aleksandar> -Wunused.

Aleksandar> (This patch groups trivial changes).

This is ok with the usual ChangeLog update.

Aleksandar> @@ -1206,8 +1205,6 @@ mi_cmd_data_write_register_values (char 
Aleksandar>      error (_("-data-write-register-values: Usage: -data-write-register-"
Aleksandar>  	     "values <format> [<regnum1> <value1>...<regnumN> <valueN>]"));
 
Aleksandar> -  format = (int) argv[0][0];
Aleksandar> -

I see that this MI command is undocumented and also that the comment and
usage is wrong -- it doesn't make sense for this to accept a format
argument, and that must just be cut-and-paste.  I filed a bug about
this.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]