This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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] |
On Tue, Jun 22, 2010 at 11:17:31AM -0400, Mark Mitchell wrote: > if (cond) > vobj = data; > > Do you agree? > > The case of: > > x = vobj = data; > > is different because the value is being used. In that case, I have no > strong opinion. What about (void) vobj; or (void) (vobj = data); ? Should that read vobj? Jakub
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |