summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-08-21 09:17:47 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-08-21 09:18:29 +0200
commitabf25bcc99e48d3a8d7bed1544f00341ceb66e99 (patch)
treee727dd61ee4565641b39ef62f444d7756dfb7bee
parent81efe37c35896362f2493d1fc81e26ca32444d81 (diff)
downloadrtems-abf25bcc99e48d3a8d7bed1544f00341ceb66e99.tar.bz2
score: Fix set but not used warning
-rw-r--r--cpukit/score/src/threadqenqueue.c2
1 files changed, 1 insertions, 1 deletions
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