diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-12-03 00:51:09 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2020-01-09 07:30:35 -0500 |
commit | 73b83b8f1a92aee93543095c96ae59ed6ba064a2 (patch) | |
tree | 25ce39b07ca6823fe80c0f0ce6896187c051a210 /src/ext | |
parent | 3ce2304c6d031020cd8a1f00dee6e87fbf40ecd4 (diff) | |
download | tor-73b83b8f1a92aee93543095c96ae59ed6ba064a2.tar.gz tor-73b83b8f1a92aee93543095c96ae59ed6ba064a2.zip |
Remove extra ; from tt_assert() macro definition.
We were actually omitting the semicolon in a few places, leading to
confusing indentation and some cocci failures.
Diffstat (limited to 'src/ext')
-rw-r--r-- | src/ext/tinytest_macros.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ext/tinytest_macros.h b/src/ext/tinytest_macros.h index c3728d1fdd..6fc2cea2da 100644 --- a/src/ext/tinytest_macros.h +++ b/src/ext/tinytest_macros.h @@ -99,11 +99,11 @@ /* Assert b, but do not stop the test if b fails. Log msg on failure. */ #define tt_want_msg(b, msg) \ - tt_want_(b, msg, ); + tt_want_(b, msg, ) /* Assert b and stop the test if b fails. Log msg on failure. */ #define tt_assert_msg(b, msg) \ - tt_want_(b, msg, TT_EXIT_TEST_FUNCTION); + tt_want_(b, msg, TT_EXIT_TEST_FUNCTION) /* Assert b, but do not stop the test if b fails. */ #define tt_want(b) tt_want_msg( (b), "want("#b")") |