Silent warning when we compile without debug.
authorasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Mon, 27 Sep 2010 12:04:52 +0000 (12:04 +0000)
committerasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Mon, 27 Sep 2010 12:04:52 +0000 (12:04 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4312 38d2e660-2303-0410-9eaa-f027e97ec537

bertos/cpu/cortex-m3/drv/flash_lm3s.c

index 281c2704c939ceb021fa86ae0bc2b4023624f4a0..7ca0a7cf33b126e3b8577f31e26a3e088a2be6d0 100644 (file)
@@ -117,6 +117,7 @@ static size_t lm3s_flash_readDirect(struct KBlock *blk, block_idx_t idx, void *b
 
 static size_t lm3s_flash_writeDirect(struct KBlock *blk, block_idx_t idx, const void *_buf, size_t offset, size_t size)
 {
+       (void)offset;
        ASSERT(offset == 0);
        ASSERT(size == blk->blk_size);