[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openocd-development
Subject:    [OpenOCD-devel] [PATCH]: c43f839 topic: Fixed a clang Dead assignment warning.
From:       gerrit () openocd ! zylin ! com
Date:       2012-04-24 20:02:57
Message-ID: 20120424200257.74AFD24146 () openocd ! zylin ! com
[Download RAW message or body]

This is an automated email from Gerrit.

Linus Tolke (linus@tigris.org) just uploaded a new patch set to Gerrit, which you can \
find at http://openocd.zylin.com/596

-- gerrit

commit c43f83919fe54a290c364fb4aba9da0dbb3dba6b
Author: Linus Tolke <linus@tigris.org>
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 <linus@tigris.org>

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
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic