diff --git a/os/rt/include/chschd.h b/os/rt/include/chschd.h index b3d6449ea..34fedf606 100644 --- a/os/rt/include/chschd.h +++ b/os/rt/include/chschd.h @@ -738,7 +738,7 @@ static inline thread_t *chSchSelectFirstI(void) { } /* Placing in ready list ahead of peers.*/ - chSchReadyAheadI(otp); + (void) chSchReadyAheadI(otp); return ntp; }