libftdi-git Archives

Subject: A library to talk to FTDI chips branch, master, updated. v0.17-290-g19382a2

From: libftdi-git@xxxxxxxxxxxxxxxxxxxxxxx
To: libftdi-git@xxxxxxxxxxxxxxxxxxxxxxx
Date: Sat, 8 Oct 2011 15:17:39 +0200 (CEST)
The branch, master has been updated
       via  19382a2855d481d4a5239ae9cdc8d608a826a9de (commit)
      from  1c5fa36b67bc30742eee94ed3e3648fcd4640f24 (commit)


- Log -----------------------------------------------------------------
commit 19382a2855d481d4a5239ae9cdc8d608a826a9de
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date:   Sat Oct 8 15:17:13 2011 +0200

    Remove errorneous ; after if
    
    Detected by my upcoming cppcheck check

-----------------------------------------------------------------------

Summary of changes:
 examples/stream_test.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/examples/stream_test.c b/examples/stream_test.c
index 8f49202..43abea9 100644
--- a/examples/stream_test.c
+++ b/examples/stream_test.c
@@ -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;


hooks/post-receive
-- 
A library to talk to FTDI chips

--
libftdi-git - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi-git+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   

Current Thread
  • A library to talk to FTDI chips branch, master, updated. v0.17-290-g19382a2, libftdi-git <=