mirror of
https://github.com/transmission/transmission
synced 2025-03-12 23:23:54 +00:00
refactor: remove unused macro TR_UNREACHABLE (#7470)
last use was removed in 3008a99
This commit is contained in:
parent
2c0b29143a
commit
642043861d
1 changed files with 0 additions and 2 deletions
|
@ -15,7 +15,6 @@
|
|||
|
||||
#define TR_ASSERT(x) ((void)((x) || tr_assert_report(__FILE__, __LINE__, #x)))
|
||||
#define TR_ASSERT_MSG(x, message) ((void)((x) || tr_assert_report(__FILE__, __LINE__, message)))
|
||||
#define TR_UNREACHABLE() tr_assert_report(__FILE__, __LINE__, "Unreachable code")
|
||||
|
||||
#define TR_ENABLE_ASSERTS
|
||||
|
||||
|
@ -23,7 +22,6 @@
|
|||
|
||||
#define TR_ASSERT(x) ((void)0)
|
||||
#define TR_ASSERT_MSG(x, ...) ((void)0)
|
||||
#define TR_UNREACHABLE() ((void)0)
|
||||
|
||||
#undef TR_ENABLE_ASSERTS
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue