Index: libcfa/src/concurrency/io.cfa
===================================================================
--- libcfa/src/concurrency/io.cfa	(revision a39a289ef9d67bed98bfa010ca41c4760bc614a3)
+++ libcfa/src/concurrency/io.cfa	(revision 078fb05a0bcd4317ce79e783caa7954e7232d3f0)
@@ -548,4 +548,6 @@
 			/* paranoid */ verify( proc == __cfaabi_tls.this_processor );
 			/* paranoid */ verify( ! __preemption_enabled() );
+
+			return true;
 		}
 	#endif
Index: libcfa/src/concurrency/kernel.cfa
===================================================================
--- libcfa/src/concurrency/kernel.cfa	(revision a39a289ef9d67bed98bfa010ca41c4760bc614a3)
+++ libcfa/src/concurrency/kernel.cfa	(revision 078fb05a0bcd4317ce79e783caa7954e7232d3f0)
@@ -554,5 +554,4 @@
 	/* paranoid */ verify( 0x0D15EA5E0D15EA5Ep == thrd->canary );
 
-	const bool local = thrd->state != Start;
 	if (thrd->preempted == __NO_PREEMPTION) thrd->state = Ready;
 
Index: libcfa/src/concurrency/ready_queue.cfa
===================================================================
--- libcfa/src/concurrency/ready_queue.cfa	(revision a39a289ef9d67bed98bfa010ca41c4760bc614a3)
+++ libcfa/src/concurrency/ready_queue.cfa	(revision 078fb05a0bcd4317ce79e783caa7954e7232d3f0)
@@ -681,5 +681,7 @@
 	// Actually pop the list
 	struct thread$ * thrd;
-	unsigned long long tsc_before = ts(lane);
+	#if defined(USE_WORK_STEALING) || defined(USE_CPU_WORK_STEALING)
+		unsigned long long tsc_before = ts(lane);
+	#endif
 	unsigned long long tsv;
 	[thrd, tsv] = pop(lane);
