This is an automated email from Gerrit.

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

-- gerrit

commit c43f83919fe54a290c364fb4aba9da0dbb3dba6b
Author: Linus Tolke <[email protected]>
Date:   Tue Apr 24 21:55:51 2012 +0200

    topic: Fixed a clang Dead assignment warning.
    
    The value returned from target_write_buffer is still ignored.
    
    Change-Id: Icb49d4d1313a5e4f7df68d3f122a5f81cfa0604a
    Signed-off-by: Linus Tolke <[email protected]>

diff --git a/src/flash/nor/stellaris.c b/src/flash/nor/stellaris.c
index 96a15d4..b167fb7 100644
--- a/src/flash/nor/stellaris.c
+++ b/src/flash/nor/stellaris.c
@@ -1039,7 +1039,7 @@ static int stellaris_write_block(struct flash_bank *bank,
                                target_name(target), (unsigned) buffer_size);
        };
 
-       retval = target_write_buffer(target, write_algorithm->address,
+       target_write_buffer(target, write_algorithm->address,
                        sizeof(stellaris_write_code),
                        (uint8_t *) stellaris_write_code);
 

-- 

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to