]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib: Standardize STMT_BEGIN and STMT_END
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Thu, 29 Oct 2020 10:33:14 +0000 (12:33 +0200)
committerTimo Sirainen <timo.sirainen@open-xchange.com>
Thu, 29 Oct 2020 10:34:26 +0000 (12:34 +0200)
commit9e72e39d52ec44b05962de3117c13afdf56a7f4d
tree2adbf3c2253d71fff4d1e796c0f76ae771efb4fc
parente7342877f88ef2ee4c80816e16a554bac5079ac9
lib: Standardize STMT_BEGIN and STMT_END

do .. while(0) should work everywhere.

This also fixes warnings given by new clang:
warning: '}' and ')' tokens terminating statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro]
src/lib/macros.h