From 0529431fe740fbf04b41129d84e2d8633b13fabe Mon Sep 17 00:00:00 2001 From: Øyvind Harboe Date: Wed, 17 Mar 2010 21:34:43 +0100 Subject: mips: fix warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Øyvind Harboe --- src/target/mips_ejtag.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3