aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleksij Rempel <bug-track@fisher-privat.net>2013-04-15 07:57:40 +0200
committerFreddie Chopin <freddie.chopin@gmail.com>2013-04-28 07:35:06 +0000
commitda2e40bcd3541a172ed037d57b7eaafb479f94d5 (patch)
tree475df8ce880072511ec1ff40d666bf1208750352
parent992059b8985cccfa19e0579ba5835f343b1179e5 (diff)
build fix: ft2232
fix build with-ftd2xx-lib Change-Id: I4a9b5d204c29b7a0714a59494b2b5f959c73f99b Signed-off-by: Oleksij Rempel <linux@rempel-privat.de> Reviewed-on: http://openocd.zylin.com/1359 Tested-by: jenkins Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
-rw-r--r--src/jtag/drivers/ft2232.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/jtag/drivers/ft2232.c b/src/jtag/drivers/ft2232.c
index fed82985..65154175 100644
--- a/src/jtag/drivers/ft2232.c
+++ b/src/jtag/drivers/ft2232.c
@@ -3141,9 +3141,8 @@ static void flossjtag_blink(void)
static int ft2232_quit(void)
{
#if BUILD_FT2232_FTD2XX == 1
- FT_STATUS status;
- status = FT_Close(ftdih);
+ FT_Close(ftdih);
#elif BUILD_FT2232_LIBFTDI == 1
ftdi_usb_close(&ftdic);