Skip to content
Snippets Groups Projects
Commit 09562421 authored by Nick Mathewson's avatar Nick Mathewson :game_die:
Browse files

Mark some unreachable code in compat_winthreads.c as unreachable

parent b9b5f9a1
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment