Mercurial > ecos
diff packages/kernel/current/tests/kcache1.c @ 3250:283b2c38b413
Fix compiler warnings. [ Bugzilla 1001865 ]
| author | vae |
|---|---|
| date | Sat, 15 Jun 2013 20:25:20 +0000 |
| parents | 74dbf4c3f2e1 |
| children |
line wrap: on
line diff
--- a/packages/kernel/current/tests/kcache1.c +++ b/packages/kernel/current/tests/kcache1.c @@ -109,7 +109,7 @@ static void time0(register cyg_uint32 st register cyg_uint32 j,k; cyg_tick_count_t count0, count1; cyg_ucount32 t; - register char c; + register char c CYGBLD_ATTRIB_UNUSED; count0 = cyg_current_time(); @@ -147,7 +147,7 @@ static void time0II(register cyg_uint32 register cyg_uint32 j,k; cyg_tick_count_t count0, count1; cyg_ucount32 t; - register char c; + register char c CYGBLD_ATTRIB_UNUSED; count0 = cyg_current_time(); @@ -189,7 +189,7 @@ static void time0DI(register cyg_uint32 volatile cyg_tick_count_t count0; cyg_tick_count_t count1; cyg_ucount32 t; - register char c; + register char c CYGBLD_ATTRIB_UNUSED; register CYG_INTERRUPT_STATE oldints; count0 = cyg_current_time();
