Browse Source

mips: fix warning

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
tags/v0.5.0-rc1
Øyvind Harboe 12 years ago
parent
commit
0529431fe7
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/target/mips_ejtag.c

+ 1
- 1
src/target/mips_ejtag.c View File

@@ -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;


Loading…
Cancel
Save