Define CORD_ec_append macro to expression instead of block (cord)
authorIvan Maidanski <ivmai@mail.ru>
Sat, 22 Dec 2012 19:09:00 +0000 (23:09 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Sat, 22 Dec 2012 19:09:00 +0000 (23:09 +0400)
commit62e300674cb17e2771395cab2aa791b9701e95b3
tree88a624ea3ad8e9e8e1574ad13c9deec5bc7da143
parent05d0bcaec07f7577b8481c4a2339ed0da12756f9
Define CORD_ec_append macro to expression instead of block (cord)
(code refactoring)

* include/ec.h (CORD_ec_init): Cast result to void (no return value).
* include/ec.h (CORD_ec_append): Replace block with void expression;
remove redundant parentheses.
include/ec.h