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: remove unused - solib


On Thu, 31 Jan 2013 04:22:22 +0100, Aleksandar Ristovski wrote:
> Aleksandar Ristovski  <aristovski@qnx.com>
> 
>      * solib-svr4.c (svr4_keep_data_in_core): Remove unused LMO.
>      (svr4_read_so_list): Remove unused LMO.
>      * solib-target.c (solib_target_relocate_section_addresses):
> Remove unused
>      FLAGS.

This is OK, I expected you consider them pre-approved.

As a nitpick here the variables should be lowercased, as we talk about the
variables and not their values:
	http://www.gnu.org/prep/standards/standards.html
	The comment on a function is much clearer if you use the argument
	names to speak about the argument values. The variable name itself
	should be lower case, but write it in upper case when you are speaking
	about the value rather than the variable itself. Thus, “the inode
	number NODE_NUM” rather than “an inode”. 


Thanks,
Jan


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