comparison packages/hal/common/current/tests/cache.c @ 3249:6e9f1cd4ed38

Fix compiler warning about variable set but not used. [ Bugzilla 1001865 ]
author vae
date Sat, 15 Jun 2013 20:22:36 +0000
parents 74dbf4c3f2e1
children
comparison
equal deleted inserted replaced
3248:04f96179ad68 3249:6e9f1cd4ed38
94 // ------------------------------------------------------------------------- 94 // -------------------------------------------------------------------------
95 95
96 static void time0(register cyg_uint32 stride) 96 static void time0(register cyg_uint32 stride)
97 { 97 {
98 register cyg_uint32 j,k; 98 register cyg_uint32 j,k;
99 register char c; 99 register char c CYGBLD_ATTRIB_UNUSED;
100 100
101 diag_printf("stride=%d\n", stride); 101 diag_printf("stride=%d\n", stride);
102 102
103 k = 0; 103 k = 0;
104 if ( cyg_test_is_simulator ) 104 if ( cyg_test_is_simulator )