4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-18 10:53:30 +08:00

[examples] fixed gcc warning: value computed is not used

This commit is contained in:
liang yongxiang 2018-03-13 17:37:32 +08:00
parent ddaa61fcc5
commit 707a0915e4

View File

@ -80,7 +80,7 @@ void mem_test(uint32_t address, uint32_t size )
for(i=0; i<size/sizeof(uint32_t); i++)
{
*p_uint32_t = (uint32_t)p_uint32_t;
*p_uint32_t++;
p_uint32_t++;
}
p_uint32_t = (uint32_t *)address;