diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2009-12-05 14:40:06 -0800 |
---|---|---|
committer | David Brownell <dbrownell@users.sourceforge.net> | 2009-12-05 14:40:06 -0800 |
commit | dd9d1a3459f7b38e2af99bdbafd322cacc9dacc2 (patch) | |
tree | 33219999ffbd1aa191ff1a5262364f962a9d60cd /src/jtag/core.c | |
parent | 12b67a2b41557160b8daa23305cbc30a349588c1 (diff) |
misc code review updates
More updates from the code review by Steve Grubb <sgrubb@redhat.com>.
The Jim float-comparision bug just gets a comment not a fix, though.
Cc: Steve Grubb <sgrubb@redhat.com>.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src/jtag/core.c')
-rw-r--r-- | src/jtag/core.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/jtag/core.c b/src/jtag/core.c index 433b50bf..373dd7e2 100644 --- a/src/jtag/core.c +++ b/src/jtag/core.c @@ -762,8 +762,7 @@ static int jtag_check_value_inner(uint8_t *captured, uint8_t *in_check_value, uint8_t *in_check_mask, int num_bits) { int retval = ERROR_OK; - - int compare_failed = 0; + int compare_failed; if (in_check_mask) compare_failed = buf_cmp_mask(captured, in_check_value, in_check_mask, num_bits); |