From: Shawn Hoffman <godisgovernm...@gmail.com> --- src/ftdi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/ftdi.c b/src/ftdi.c index 610fe3e..13402d1 100644 --- a/src/ftdi.c +++ b/src/ftdi.c @@ -3428,7 +3428,7 @@ int ftdi_eeprom_build(struct ftdi_context *ftdi) i = 0x40; } if ((ftdi->type == TYPE_230X) && (i >= 0x40) && (i < 0x50)) { - uint16_t data; + uint16_t data = 0; if (ftdi_read_eeprom_location(ftdi, i, &data)) { fprintf(stderr, "Reading Factory Configuration Data failed\n"); i = 0x50; -- 2.44.0.windows.1 -- libftdi - see http://www.intra2net.com/en/developer/libftdi for details. To unsubscribe send a mail to libftdi+unsubscr...@developer.intra2net.com