diff options
| author | liang yongxiang <[email protected]> | 2018-03-13 17:37:32 +0800 |
|---|---|---|
| committer | liang yongxiang <[email protected]> | 2018-03-13 17:38:53 +0800 |
| commit | 707a0915e40efa447f74949c7acc997349611f69 (patch) | |
| tree | aead509706a650bbec0b98c9e8a1d0484372d18a /examples | |
| parent | ddaa61fcc5e96c33b6b7e4480041eaca65aa3bde (diff) | |
[examples] fixed gcc warning: value computed is not used
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/test/mem_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/test/mem_test.c b/examples/test/mem_test.c index 2e94bca2d0..549be80ab4 100644 --- a/examples/test/mem_test.c +++ b/examples/test/mem_test.c @@ -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; |
