]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Mark some unreachable code in compat_winthreads.c as unreachable
authorNick Mathewson <nickm@torproject.org>
Thu, 19 Oct 2017 17:21:48 +0000 (13:21 -0400)
committerNick Mathewson <nickm@torproject.org>
Thu, 19 Oct 2017 17:21:48 +0000 (13:21 -0400)
src/common/compat_winthreads.c

index 50a3c498ca061a6452b11b5e38cda1200eab12a4..122e0f016624249172a13d5bac609ec912d97e81 100644 (file)
@@ -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