summaryrefslogtreecommitdiff
path: root/src/target/mips_ejtag.c
diff options
context:
space:
mode:
authorØyvind Harboe <oyvind.harboe@zylin.com>2010-03-17 21:34:43 +0100
committerØyvind Harboe <oyvind.harboe@zylin.com>2010-03-17 21:34:43 +0100
commit0529431fe740fbf04b41129d84e2d8633b13fabe (patch)
treee02945f680e5051c7f394ada730d99f96ee409b7 /src/target/mips_ejtag.c
parentcc197c808625d9afa5e4c316122d59b71fe8ee44 (diff)
downloadopenocd+libswd-0529431fe740fbf04b41129d84e2d8633b13fabe.tar.gz
openocd+libswd-0529431fe740fbf04b41129d84e2d8633b13fabe.tar.bz2
openocd+libswd-0529431fe740fbf04b41129d84e2d8633b13fabe.tar.xz
openocd+libswd-0529431fe740fbf04b41129d84e2d8633b13fabe.zip
mips: fix warning
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Diffstat (limited to 'src/target/mips_ejtag.c')
-rw-r--r--src/target/mips_ejtag.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/mips_ejtag.c b/src/target/mips_ejtag.c
index cea8fa80..42dc6e0b 100644
--- a/src/target/mips_ejtag.c
+++ b/src/target/mips_ejtag.c
@@ -135,7 +135,7 @@ int mips_ejtag_drscan_8(struct mips_ejtag *ejtag_info, uint32_t *data)
if (tap == NULL)
return ERROR_FAIL;
struct scan_field field;
- uint8_t t[4], r[4];
+ uint8_t t[4] = {0, 0, 0, 0}, r[4];
int retval;
field.num_bits = 8;