mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
More fixes to problems noted by cppcheck. Some are kind of risky; some are real bugs.
This commit is contained in:
@@ -176,9 +176,11 @@ static void lpwork_boostworker(pid_t wpid, uint8_t reqprio)
|
||||
static void lpwork_restoreworker(pid_t wpid, uint8_t reqprio)
|
||||
{
|
||||
FAR struct tcb_s *wtcb;
|
||||
#if CONFIG_SEM_NNESTPRIO > 0
|
||||
uint8_t wpriority;
|
||||
int index;
|
||||
int selected;
|
||||
#endif
|
||||
|
||||
/* Get the TCB of the low priority worker thread from the process ID. */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user