This is the mail archive of the gdb-cvs@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]

src/gdb ChangeLog ada-lang.c


CVSROOT:	/cvs/src
Module name:	src
Changes by:	brobecke@sourceware.org	2012-03-29 23:30:55

Modified files:
	gdb            : ChangeLog ada-lang.c 

Log message:
	Rename variables in ada-lang.c:ada_make_symbol_completion_list.
	
	This renaming allows us to have variable names that are consistent
	with the names of the parameters in the functions where these
	variables are used.  This also allows us to avoid a -Wshadow warning
	in the case of variable "wild_match", which is now renamed to
	"wild_match_p".
	
	gdb/ChangeLog:
	
	-Wshadow warning fix.
	* ada-lang.c (ada_make_symbol_completion_list): Rename parameters
	"wild_match" and "encoded" into "wild_match_p" and "encoded_p".
	Adjust code accordingly.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.14070&r2=1.14071
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ada-lang.c.diff?cvsroot=src&r1=1.362&r2=1.363


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