[Swan-commit] Changes to ref refs/heads/master
Andrew Cagney
cagney at vault.libreswan.fi
Thu Aug 10 01:11:31 UTC 2017
New commits:
commit c65f3b57ed5ec54de73c1e3be9958fc5845c7db2
Author: Andrew Cagney <cagney at gnu.org>
Date: Wed Aug 9 14:08:45 2017 -0400
include: simplify passert() et.al. by using the C99 'bool' type
Replace:
if (ASSERTION) { } else { ... }
with:
bool b = ASSERTION; if (!b) { ... }
(not to be confused with 'int b = ASSERTION; ...' which is not equivalent).
Don't wrap ASSERTION in paren as that would suppress -Wparen.
More information about the Swan-commit
mailing list