From: Nick Mathewson Date: Thu, 19 Oct 2017 17:21:48 +0000 (-0400) Subject: Mark some unreachable code in compat_winthreads.c as unreachable X-Git-Tag: tor-0.3.3.1-alpha~337 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=09562421589c055a6cb49c802a248f727390d158;p=thirdparty%2Ftor.git Mark some unreachable code in compat_winthreads.c as unreachable --- 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