fixed EEPROM user-area space checks for FT232R and FT245R chips in ftdi_eeprom_build()
[libftdi] / examples / stream_test.c
index 8f49202..43abea9 100644 (file)
@@ -107,7 +107,7 @@ readCallback(uint8_t *buffer, int length, FTDIProgressInfo *progress, void *user
            }
            else if (rem)
                start += 0x4000;
-           if (rem != 0);
+           if (rem != 0)
            {
                blocks ++;
                offset = 16-rem;