summaryrefslogtreecommitdiff
path: root/src/xsvf
diff options
context:
space:
mode:
authorØyvind Harboe <oyvind.harboe@zylin.com>2010-06-16 08:19:25 +0200
committerØyvind Harboe <oyvind.harboe@zylin.com>2010-06-16 08:19:25 +0200
commitcd9c61cc068635fa707981decfea600ee7e94201 (patch)
treea1b1a9e4d3c2e557310a441e5bfa4046c1e0d3bf /src/xsvf
parent9bbbbdc0bd244b09f846b1acdf28327da2a166d8 (diff)
downloadopenocd_libswd-cd9c61cc068635fa707981decfea600ee7e94201.tar.gz
openocd_libswd-cd9c61cc068635fa707981decfea600ee7e94201.tar.bz2
openocd_libswd-cd9c61cc068635fa707981decfea600ee7e94201.tar.xz
openocd_libswd-cd9c61cc068635fa707981decfea600ee7e94201.zip
xsvf: -Wshadow warning fixes
I think this fixed an error message where the error message would show the *previous* uc code rather than the current unsupported uc code. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Diffstat (limited to 'src/xsvf')
-rw-r--r--src/xsvf/xsvf.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/xsvf/xsvf.c b/src/xsvf/xsvf.c
index dff1a1ec..51d0e7b1 100644
--- a/src/xsvf/xsvf.c
+++ b/src/xsvf/xsvf.c
@@ -269,7 +269,6 @@ COMMAND_HANDLER(handle_xsvf_command)
*/
if (collecting_path) {
tap_state_t mystate;
- uint8_t uc;
switch (opcode) {
case XCOMMENT:
@@ -565,7 +564,6 @@ COMMAND_HANDLER(handle_xsvf_command)
case XSTATE:
{
tap_state_t mystate;
- uint8_t uc;
if (read(xsvf_fd, &uc, 1) < 0)
{