commit 87b71a692a568453b3b4a19cf798d269a9b2fbf9
parent efa5020a9c34883543108f7301cb2177526ccaf8
Author: Nick Mathewson <nickm@torproject.org>
Date: Fri, 10 Jan 2020 11:32:34 -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.
Diffstat:
1 file changed, 0 insertions(+), 2 deletions(-)
diff --git 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, ...)