Browse Source

fix warning: remove assigned to variable

variable is subsequently not used

Change-Id: I177d21c6ba9f1f2e3765feffdbf317ea375a8cfe
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Reviewed-on: http://openocd.zylin.com/149
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
tags/v0.6.0-rc1
Øyvind Harboe 12 years ago
committed by Spencer Oliver
parent
commit
955316a727
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/flash/nor/pic32mx.c

+ 1
- 1
src/flash/nor/pic32mx.c View File

@@ -724,7 +724,7 @@ static int pic32mx_info(struct flash_bank *bank, char *buf, int buf_size)

buf += printed;
buf_size -= printed;
printed = snprintf(buf, buf_size, " Ver: 0x%02x",
snprintf(buf, buf_size, " Ver: 0x%02x",
(unsigned)((device_id >> 28) & 0xf));

return ERROR_OK;


Loading…
Cancel
Save