Zebediah Figura (@zfigura) commented about dlls/ntdll/exception.c:
/*************************************************************
_assert
*/ -void __cdecl _assert( const char *str, const char *file, unsigned int line ) +DECLSPEC_NORETURN void __cdecl _assert( const char *str, const char *file, unsigned int line ) { ERR( "%s:%u: Assertion failed %s\n", file, line, debugstr_a(str) );
- RtlRaiseStatus( EXCEPTION_WINE_ASSERTION );
- for (;;) RtlRaiseStatus( EXCEPTION_WINE_ASSERTION );
Probably RtlRaiseStatus() also deserves DECLSPEC_NORETURN.