libxl/CODING_STYLE: Clarify the singular statement in a conditional statement explana...
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 1 Apr 2016 15:13:57 +0000 (11:13 -0400)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Wed, 6 Apr 2016 13:53:31 +0000 (14:53 +0100)
commitd6cdb19570c3b30668977d192b24b7095e1aa703
tree9f583ce79e35e2709a5ed86cf6cf40a7e6378370
parent5e07e7c26bf81a1f1a1f250fa15e9c5a73a52ac7
libxl/CODING_STYLE: Clarify the singular statement in a conditional statement explanation.

It takes a bit of thinking to parse the original statement. It looks
like it is missing an ',' - right after the 'braced' to make it
obvious that:

if (X)
   return XYZ;

is OK, while multiple conditionals require braces.

Changing the 'apart from' with 'except' makes it more obvious
(I hope).

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/CODING_STYLE