mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-03-27 13:49:56 +00:00
libtests: Fix variable 'i' set but not used
Fix this warning. Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
This commit is contained in:
@@ -93,10 +93,8 @@ static void capture_CT1b( rtems_task_argument arg )
|
||||
{
|
||||
(void) arg;
|
||||
|
||||
volatile int i;
|
||||
|
||||
while ( !capture_CT1c_deleted ) {
|
||||
i++;
|
||||
/* Busy wait */
|
||||
}
|
||||
|
||||
capture_CT1b_deleted = 1;
|
||||
|
||||
@@ -92,10 +92,8 @@ static void capture_CT1b( rtems_task_argument arg )
|
||||
{
|
||||
(void) arg;
|
||||
|
||||
volatile int i;
|
||||
|
||||
while ( !capture_CT1c_deleted ) {
|
||||
i++;
|
||||
/* Busy wait */
|
||||
}
|
||||
|
||||
capture_CT1b_deleted = 1;
|
||||
|
||||
Reference in New Issue
Block a user