From cd9c61cc068635fa707981decfea600ee7e94201 Mon Sep 17 00:00:00 2001 From: Øyvind Harboe Date: Wed, 16 Jun 2010 08:19:25 +0200 Subject: xsvf: -Wshadow warning fixes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- src/xsvf/xsvf.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src') 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) { -- cgit v1.2.3 pan='2'>cgit logo index : openocd+libswd.git
Unnamed repository; edit this file 'description' to name the repository.Trygve Laugstøl
summaryrefslogtreecommitdiff
blob: a9cda192a4f7dfa87c9b7102d680a7417bfa2448 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47