mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
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.
This commit is contained in:
parent
efa5020a9c
commit
87b71a692a
@ -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, ...)
|
||||
|
Loading…
Reference in New Issue
Block a user