From 17431287ffa37d2085dbe7cb30afa17487e456a2 Mon Sep 17 00:00:00 2001 From: Thomas Jarosch Date: Sat, 15 Jan 2011 16:38:26 +0100 Subject: [PATCH] Address one more compile warning / add FIXME comment for Uwe --- src/ftdi.c | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/ftdi.c b/src/ftdi.c index d7843ff..1e92dc5 100644 --- a/src/ftdi.c +++ b/src/ftdi.c @@ -2958,8 +2958,15 @@ int ftdi_eeprom_decode(struct ftdi_context *ftdi, int verbose) fprintf(stdout,"C%d Function: %s\n", i, cbus_mux[eeprom->cbus_function[i]]); else + { + /* FIXME for Uwe: This results in an access above array bounds. + Also I couldn't find documentation about this mode. fprintf(stdout,"C%d BB Function: %s\n", i, cbus_BB[i]); + */ + fprintf(stdout, "Unknown CBUS mode. Might be special mode?\n"); + (void)cbus_BB; + } } } } -- 1.7.1