diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-03-31 22:59:13 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-03-31 22:59:13 +0000 |
commit | 5cfcd7ec4221e732f6b086b174ca5a07ccb4f317 (patch) | |
tree | dd743338d4af5797ceda3a21de05fa8f0449263f | |
parent | Removed warning. (diff) | |
download | rtems-5cfcd7ec4221e732f6b086b174ca5a07ccb4f317.tar.bz2 |
Removed warnings.
-rw-r--r-- | c/src/lib/libbsp/i386/pc386/timer/timer.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/c/src/lib/libbsp/i386/pc386/timer/timer.c b/c/src/lib/libbsp/i386/pc386/timer/timer.c index 30202ac579..b84fd5fa3e 100644 --- a/c/src/lib/libbsp/i386/pc386/timer/timer.c +++ b/c/src/lib/libbsp/i386/pc386/timer/timer.c @@ -368,7 +368,6 @@ inline unsigned short readCurrentTimer() +--------------------------------------------------------------------------*/ unsigned int clockbits(void) { - int i_state; unsigned int stat,count1, count; do @@ -399,10 +398,8 @@ Calibrate_loop_1ms(void) { unsigned int i; unsigned short loadedValue, offset; - unsigned int timerValue, t1_ref, t2_ref; + unsigned int timerValue, t1_ref, t2_ref=0; rtems_interrupt_level level; - unsigned short lsb, msb; - unsigned char status; printk( "Calibrate_loop_1ms is starting, please wait ( but not too loooong. )\n" ); |