[examples] fixed gcc warning: value computed is not used
This commit is contained in:
parent
ddaa61fcc5
commit
707a0915e4
|
@ -80,7 +80,7 @@ void mem_test(uint32_t address, uint32_t size )
|
||||||
for(i=0; i<size/sizeof(uint32_t); i++)
|
for(i=0; i<size/sizeof(uint32_t); i++)
|
||||||
{
|
{
|
||||||
*p_uint32_t = (uint32_t)p_uint32_t;
|
*p_uint32_t = (uint32_t)p_uint32_t;
|
||||||
*p_uint32_t++;
|
p_uint32_t++;
|
||||||
}
|
}
|
||||||
|
|
||||||
p_uint32_t = (uint32_t *)address;
|
p_uint32_t = (uint32_t *)address;
|
||||||
|
|
Loading…
Reference in New Issue