This is an automated email from Gerrit.

Brent Roman ([email protected]) just uploaded a new patch set to Gerrit, which 
you can find at http://openocd.zylin.com/1365

-- gerrit

commit 06a91abc16f41561cec74fcc060d4d8ee17d53a4
Author: Brent Roman <[email protected]>
Date:   Thu Apr 25 17:54:06 2013 -0700

    removed explicit clearing of static zero word
    
    Change-Id: If396670dfcac623be755f7a5056ab458fc5763b0
    Signed-off-by: Brent Roman <[email protected]>

diff --git a/src/target/hla_target.c b/src/target/hla_target.c
index eddeb46..02eafe6 100644
--- a/src/target/hla_target.c
+++ b/src/target/hla_target.c
@@ -285,7 +285,7 @@ static int hl_dcc_read(
                        /* write ack back to software dcc register
                         * to signify we have read data */
                        /*atomically clear just the byte containing the busy 
bit*/
-                       static const uint8_t zero = 0;
+                       static const uint8_t zero; /* = 0 */
                        retval = hl_if->layout->api->write_mem8(
                                                hl_if->fd, DCB_DCRDR, 1, &zero);
                }

-- 

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to