Fix compilation with gcc-13 and tsan enabled
When TSAN is enabled gcc-13 doesn't interpret unreachable
as no return value needed, so -Werror=return-type
is triggered.
Fix this by adding an extra return in these cases.
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
When TSAN is enabled gcc-13 doesn't interpret unreachable
as no return value needed, so -Werror=return-type
is triggered.
Fix this by adding an extra return in these cases.