From abf25bcc99e48d3a8d7bed1544f00341ceb66e99 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 21 Aug 2020 09:17:47 +0200 Subject: score: Fix set but not used warning --- cpukit/score/src/threadqenqueue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpukit') diff --git a/cpukit/score/src/threadqenqueue.c b/cpukit/score/src/threadqenqueue.c index 972736f3f2..f0a28457a1 100644 --- a/cpukit/score/src/threadqenqueue.c +++ b/cpukit/score/src/threadqenqueue.c @@ -531,7 +531,7 @@ static bool _Thread_queue_MP_set_callout( the_proxy = (Thread_Proxy_control *) the_thread; mp_callout = queue_context->mp_callout; _Assert( mp_callout != NULL ); - the_proxy->thread_queue_callout = queue_context->mp_callout; + the_proxy->thread_queue_callout = mp_callout; return true; } #endif -- cgit v1.2.3