]> git.sur5r.net Git - openocd/commitdiff
build fix: ft2232
authorOleksij Rempel <bug-track@fisher-privat.net>
Mon, 15 Apr 2013 05:57:40 +0000 (07:57 +0200)
committerFreddie Chopin <freddie.chopin@gmail.com>
Sun, 28 Apr 2013 07:35:06 +0000 (07:35 +0000)
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>
src/jtag/drivers/ft2232.c

index fed829856036d17c2eec0ef8f80a656b7dba1eb3..65154175b9c5d9cb98fca3e138eeeab7683aa81a 100644 (file)
@@ -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);