summaryrefslogtreecommitdiff
path: root/src/common/compat_winthreads.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-10-19 13:21:48 -0400
committerNick Mathewson <nickm@torproject.org>2017-10-19 13:21:48 -0400
commit09562421589c055a6cb49c802a248f727390d158 (patch)
tree0fa15877d5ff0e59d035a5c6ea8d0e4ccacd73e6 /src/common/compat_winthreads.c
parentb9b5f9a1a5a683611789ffe4c49e41325102cabc (diff)
downloadtor-09562421589c055a6cb49c802a248f727390d158.tar.gz
tor-09562421589c055a6cb49c802a248f727390d158.zip
Mark some unreachable code in compat_winthreads.c as unreachable
Diffstat (limited to 'src/common/compat_winthreads.c')
-rw-r--r--src/common/compat_winthreads.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/compat_winthreads.c b/src/common/compat_winthreads.c
index 50a3c498ca..122e0f0166 100644
--- a/src/common/compat_winthreads.c
+++ b/src/common/compat_winthreads.c
@@ -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