diff options
author | Michał Łyszczek <michal.lyszczek@bofc.pl> | 2019-05-18 14:59:10 +0200 |
---|---|---|
committer | Michał Łyszczek <michal.lyszczek@bofc.pl> | 2019-05-18 14:59:10 +0200 |
commit | 637cc79d02e2aa61b22f5a9564b1a6198c60b953 (patch) | |
tree | f3cd60e0dc170f425e2d7fc31d3f005f4b3e5466 | |
parent | 7500a8166f9d5f2df595e4bef2240d0a93526507 (diff) | |
download | mtest-637cc79d02e2aa61b22f5a9564b1a6198c60b953.tar.gz mtest-637cc79d02e2aa61b22f5a9564b1a6198c60b953.tar.bz2 mtest-637cc79d02e2aa61b22f5a9564b1a6198c60b953.zip |
mtest.h: move 'ret' declaration to begin of scope
This improves compatibility with -ansi compilers.
Signed-off-by: Michał Łyszczek <michal.lyszczek@bofc.pl>
-rw-r--r-- | mtest.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -190,8 +190,8 @@ #define mt_fok(e) do { \ - ++mt_total_checks; \ int ret; \ + ++mt_total_checks; \ if ((ret = e) != 0) \ { \ fprintf(stderr, "# assert [%s:%d] %s, %s != ok\n", \ |