28 Jan
2023
28 Jan
'23
4:27 a.m.
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.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/2051#note_22215