commit 87b71a692a568453b3b4a19cf798d269a9b2fbf9 Author: Nick Mathewson nickm@torproject.org Date: Fri Jan 10 11:32:34 2020 -0500
Remove senseless CHECK_PRINTF()s from util_bug.c
These belong in util_bug.h (and they already are there).
Their presence made clang-format misindent these functions in a way that checkSpace.pl dislikes. --- src/lib/log/util_bug.c | 2 -- 1 file changed, 2 deletions(-)
diff --git a/src/lib/log/util_bug.c b/src/lib/log/util_bug.c index de44d30e4..83045ebb9 100644 --- a/src/lib/log/util_bug.c +++ b/src/lib/log/util_bug.c @@ -71,7 +71,6 @@ tor_set_failed_assertion_callback(void (*fn)(void))
/** Helper for tor_assert: report the assertion failure. */ void -CHECK_PRINTF(5, 6) tor_assertion_failed_(const char *fname, unsigned int line, const char *func, const char *expr, const char *fmt, ...) @@ -104,7 +103,6 @@ tor_assertion_failed_(const char *fname, unsigned int line,
/** Helper for tor_assert_nonfatal: report the assertion failure. */ void -CHECK_PRINTF(6, 7) tor_bug_occurred_(const char *fname, unsigned int line, const char *func, const char *expr, int once, const char *fmt, ...)
tor-commits@lists.torproject.org