Remove errorneous ; after if
authorThomas Jarosch <thomas.jarosch@intra2net.com>
Sat, 8 Oct 2011 13:17:13 +0000 (15:17 +0200)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Sat, 8 Oct 2011 13:17:13 +0000 (15:17 +0200)
Detected by my upcoming cppcheck check

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;