This is an automated email from Gerrit.

?yvind Harboe ([email protected]) just uploaded a new patch set to Gerrit, 
which you can find at http://openocd.zylin.com/181

-- gerrit

commit 58177855f1f4b6902964aebe8ad96eeca8e0dea1
Author: Øyvind Harboe <[email protected]>
Date:   Tue Nov 8 17:46:47 2011 +0100

    bitq: use assert() to explain compiler that there is no NULL reference
    
    punting on this old driver.
    
    Change-Id: I5bf28ac83648d2921f3b3a63b1083f92d7628f06
    Signed-off-by: Øyvind Harboe <[email protected]>

diff --git a/src/jtag/drivers/bitq.c b/src/jtag/drivers/bitq.c
index 46eb27a..cc9442a 100644
--- a/src/jtag/drivers/bitq.c
+++ b/src/jtag/drivers/bitq.c
@@ -100,6 +100,8 @@ void bitq_in_proc(void)
                                                }
                                        }
 
+                                       assert(in_buff != NULL);
+
                                        /* field scanning */
                                        while (bitq_in_state.bit_pos < 
field->num_bits)
                                        {

-- 

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Openocd-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to