lib/torture: protect torture_assert[_goto]() with a do { } while(0) block
authorStefan Metzmacher <metze@samba.org>
Tue, 10 Sep 2019 08:55:15 +0000 (10:55 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 10 Sep 2019 17:38:40 +0000 (17:38 +0000)
commit8270b8c0b2141e3db1cba16b72d152686efe824f
tree1e1d9eb6dbbbe45d91f3cc3e99481f05b71d6938
parentc6b48490ac68f23c9f172bdfa91954a960928795
lib/torture: protect torture_assert[_goto]() with a do { } while(0) block

This hopefully fixes a lot of coverity defects like:

Control flow issues  (DEADCODE)
Execution cannot reach this statement: ";".

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
lib/torture/torture.h