Non-return functions should not be combined with `else' clause.
The if shorthands `var = e ? t : f;' need to fit to single line,
and if that does not look good use normal "if else" syntax.
Both tips are mentioned in email bellow.
http://www.spinics.net/lists/util-linux-ng/msg05152.html
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* Patches relying on features that are not in Linus' tree
are not accepted.
+
+ * Do not use `else' after non-returning functions. For
+ example
+
+ if (this)
+ err(EXIT_FAIL, "this failed");
+ else
+ err(EXIT_FAIL, "that failed");
+
+ is wrong and should be wrote
+
+ if (this)
+ err(EXIT_FAIL, "this failed");
+ err(EXIT_FAIL, "that failed");
+
+ * When you use if shortshort hand make sure it is not wrapped to
+ multiple lines. In case the shorthand does not look good on one
+ line use normal "if () else" syntax.