Re: [patch] configfs: documentation: remove unneeded check

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Joel Becker
Date: Wednesday, October 27, 2010 - 4:22 am

On Wed, Oct 27, 2010 at 12:07:35PM +0200, Dan Carpenter wrote:

	If you're going to prefer "*p != '\0'" to "*p" as a test, I'd
like you to include parens: "if ((*p != '\0') && (*p != '\n'))"  While
the order of precedence is correct in your change, it makes folks have
to stop and think about order of precedence in the first place.

Joel

-- 

Life's Little Instruction Book #444

	"Never underestimate the power of a kind word or deed."

Joel Becker
Senior Development Manager
Oracle
E-mail: joel.becker@oracle.com
Phone: (650) 506-8127
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch] configfs: documentation: remove unneeded check, Dan Carpenter, (Wed Oct 27, 3:07 am)
Re: [patch] configfs: documentation: remove unneeded check, Joel Becker, (Wed Oct 27, 4:22 am)
[patch v2] configfs: documentation: remove unneeded check, Dan Carpenter, (Wed Oct 27, 7:50 am)