diff --git a/libtransmission/tr-assert.mm b/libtransmission/tr-assert.mm index 3c0f767f3..2d9845438 100644 --- a/libtransmission/tr-assert.mm +++ b/libtransmission/tr-assert.mm @@ -5,8 +5,6 @@ #import -#include // for abort() - #include #include "tr-assert.h" @@ -20,10 +18,6 @@ { auto const full_text = fmt::format(FMT_STRING("assertion failed: {:s} ({:s}:{:d})"), message, file, line); [NSException raise:NSInternalInconsistencyException format:@"%s", full_text.c_str()]; - - // We should not reach this anyway, but it helps mark the function as property noreturn - // (the Objective-C NSException method does not). - abort(); } #endif