mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-25 23:21:38 +01:00
Mark some unreachable code in compat_winthreads.c as unreachable
This commit is contained in:
parent
b9b5f9a1a5
commit
0956242158
1 changed files with 2 additions and 0 deletions
|
@ -48,10 +48,12 @@ void
|
||||||
spawn_exit(void)
|
spawn_exit(void)
|
||||||
{
|
{
|
||||||
_endthread();
|
_endthread();
|
||||||
|
// LCOV_EXCL_START
|
||||||
//we should never get here. my compiler thinks that _endthread returns, this
|
//we should never get here. my compiler thinks that _endthread returns, this
|
||||||
//is an attempt to fool it.
|
//is an attempt to fool it.
|
||||||
tor_assert(0);
|
tor_assert(0);
|
||||||
_exit(0);
|
_exit(0);
|
||||||
|
// LCOV_EXCL_STOP
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Add table
Reference in a new issue