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: [RFA 38/67] Constify some linespec functions


On 09/21/2017 06:09 AM, Tom Tromey wrote:

In several places you followed a pattern like:

>  static void
> -foo_command (char *args, int from_tty)
> +foo_command (char *args_in, int from_tty)

... and then args_in wasn't used.

I'd be nice to mention in the commit log the reason for this.
I assume that it's because we don't have the corresponding
constified add_cmd variant?

Thanks,
Pedro Alves


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