From: Spencer Oliver Date: Thu, 1 Jul 2010 18:43:58 +0000 (+0100) Subject: ft2232: bugfix from previous commit X-Git-Tag: v0.5.0-rc1~538 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f97b6b59abc878745bb54e8f44ec82897bacaf7d;p=openocd ft2232: bugfix from previous commit fix build error with commit dd88b461da1cb8642200dd5c96fb1ff384ca9f7b Signed-off-by: Spencer Oliver --- diff --git a/src/jtag/drivers/ft2232.c b/src/jtag/drivers/ft2232.c index 9d40b1c0..90516a09 100644 --- a/src/jtag/drivers/ft2232.c +++ b/src/jtag/drivers/ft2232.c @@ -4022,7 +4022,7 @@ static int signalyzer_h_init(void) buf[1] = high_output; buf[2] = high_direction; - if ((retval = ft2232_write(buf, sizeof(buf), &bytes_written)) != ERROR_OK) + if (ft2232_write(buf, sizeof(buf), &bytes_written) != ERROR_OK) { LOG_ERROR("couldn't initialize Signalyzer-H layout"); return ERROR_JTAG_INIT_FAILED;