mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Mark some unreachable code in compat_winthreads.c as unreachable
This commit is contained in:
@@ -48,10 +48,12 @@ void
|
||||
spawn_exit(void)
|
||||
{
|
||||
_endthread();
|
||||
// LCOV_EXCL_START
|
||||
//we should never get here. my compiler thinks that _endthread returns, this
|
||||
//is an attempt to fool it.
|
||||
tor_assert(0);
|
||||
_exit(0);
|
||||
// LCOV_EXCL_STOP
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user