projects
/
fw
/
openocd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
9bbbbdc
)
xsvf: -Wshadow warning fixes
author
Øyvind Harboe
<oyvind.harboe@zylin.com>
Wed, 16 Jun 2010 06:19:25 +0000
(08:19 +0200)
committer
Øyvind Harboe
<oyvind.harboe@zylin.com>
Wed, 16 Jun 2010 06:19:25 +0000
(08:19 +0200)
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>
src/xsvf/xsvf.c
patch
|
blob
|
history
diff --git
a/src/xsvf/xsvf.c
b/src/xsvf/xsvf.c
index dff1a1ec2ab0c862246ce913e880fce660b5835c..51d0e7b1eaa79f1035b5a6a100208df9d6c322f2 100644
(file)
--- 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)
{