1
0
Fork 0
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:
Charles Kerr 2025-03-05 10:36:06 -06:00 committed by GitHub
parent 2c0b29143a
commit 642043861d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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