<div dir="ltr">Hi,<br><div><br></div><div>When I am compiling my current code, I am getting the following compiler warning:</div><div><br></div><div>---------------------------------------------------------------</div><div><br></div><div>/home/richi/quick-start/src/rtems/c/src/../../cpukit/score/src/schedulerstrongapa.c: In function '_Scheduler_strong_APA_Extract_from_ready':<br>/home/richi/quick-start/src/rtems/c/src/../../cpukit/score/src/schedulerstrongapa.c:400:37: warning: variable 'self' set but not used [-Wunused-but-set-variable]<br>   Scheduler_strong_APA_Context     *self;</div><div>                                     ^~~~<br></div><div>---------------------------------------------------------------<br></div><div><br></div><div>This warning refers to the following code: <a href="https://github.com/richidubey/rtems/blob/3a9843f61bbd547d150d2ee2d791668cfb5aa282/cpukit/score/src/schedulerstrongapa.c#L415">https://github.com/richidubey/rtems/blob/3a9843f61bbd547d150d2ee2d791668cfb5aa282/cpukit/score/src/schedulerstrongapa.c#L415</a></div><div><br></div><div>We can see that the self variable is used to get the status of the chain, why would I get such a warning then?</div><div><br></div><div>Please let me know.</div><div><br></div></div>