This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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] gdb/c-lang.c: Remove useless "err = 0;" instruction in c_get_string()


> 'err' only has effect within a code block, so declare it within the code
> block, and remove useless "err = 0;" instruction.
> 
> gdb/
> 2014-09-27  Chen Gang  <gang.chen.5i5j@gmail.com>
> 
> 	* c-lang.c (c_get_string): Remove useless "err = 0;" instruction.

Looks good to me. Go ahead and push.

-- 
Joel


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