Eliminate unused vars.

This commit is contained in:
Ralf Corsepius
2009-10-24 06:14:30 +00:00
parent 53edb3126e
commit 2f2da91c1f
10 changed files with 5 additions and 13 deletions

View File

@@ -15,7 +15,6 @@ rtems_task Init(
rtems_task_argument ignored
)
{
rtems_status_code sc;
bool is_set;
puts( "\n\n*** TEST 10 ***" );

View File

@@ -20,7 +20,6 @@ rtems_task Init(
bool sb;
Heap_Information_block start;
Heap_Information_block info;
void *pointer;
size_t stack_size;
puts( "\n\n*** TEST 18 ***" );

View File

@@ -77,7 +77,6 @@ void starttask(
void doTest()
{
rtems_status_code sc;
rtems_attribute attr;
int pass, i;
sc = rtems_semaphore_create(

View File

@@ -187,7 +187,9 @@ rtems_task Low_Exec(rtems_task_argument TaskArg)
rtems_task LocalHwSim_Exec(rtems_task_argument TaskArg)
{
#if 0
int ISRCount = 0;
#endif
printf("LocalHwSim_Exec begins...\n");
while(1) {

View File

@@ -78,9 +78,9 @@ void test_case_three(void)
{
uint32_t heap_size;
void *ptr1;
intptr_t old;
intptr_t avail;
#if 0
Heap_Resize_status hc;
#endif
int pg, al, alloc, sz;
puts( "Init - _Heap_Allocate_aligned - request impossible - not OK");

View File

@@ -27,7 +27,7 @@ rtems_task Init(
rtems_task_argument ignored
)
{
int status, ceiling, old_ceiling;
int status;
rtems_id Mutex_id, Task_id;
puts( "\n\n*** TEST " TEST_NAME " ***" );

View File

@@ -40,7 +40,6 @@ rtems_task Init(
rtems_status_code status;
rtems_id timer1;
rtems_id timer2;
rtems_name timer_name;
puts( "\n\n*** TEST 67 ***" );

View File

@@ -43,7 +43,6 @@ rtems_task Init(
rtems_task_argument ignored
)
{
rtems_status_code sc;
rtems_event_set out;
int resets;

View File

@@ -60,7 +60,6 @@ rtems_task Init(
rtems_task_argument argument
)
{
rtems_status_code status;
rtems_id main_task;
int count;
Objects_Control *o;

View File

@@ -17,10 +17,6 @@ rtems_task Init(
rtems_task_argument argument
)
{
void *p1;
bool retbool;
Heap_Information_block info;
printk( "\n\n*** TEST PRINTK ***\n" );
putk( "This is a test of putk\n" );