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: [OB] remote.c: initialize p to handle build error


On Thu, 14 Jul 2011 06:48:54 +0200, Hui Zhu wrote:
> 	* remote.c (remote_get_trace_status): Initialize p.

Also for 7.3; although it does not use -Werror.

BTW there are sometimes comments in these cases like:
	/* Initialize it just to avoid a GCC false warning.  */


Thanks/sorry,
Jan


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