[flashrom] [PATCH] Suppress error message from GCC while compiling with -Werror

Uwe Hermann uwe at hermann-uwe.de
Mon Sep 20 19:21:56 CEST 2010


On Fri, Sep 17, 2010 at 01:21:05PM +0400, Peter Lemenkov wrote:
> Hello.
> The variable 'ret' is unused when compiling on BigEndian architecture. This
> produces "unused variable" message, which might be treated as error if -Werror
> was passed to compiler.
> 
> With this patch I was able to compile flashrom  cleanly on ppc and ppc64:
> 
> http://koji.fedoraproject.org/koji/taskinfo?taskID=2472482
> http://koji.fedoraproject.org/koji/taskinfo?taskID=2472484
> 
> Signed-off-by: Peter Lemenkov <lemenkov at gmail.com>

Thanks, r1180.


Uwe.
-- 
http://hermann-uwe.de     | http://sigrok.org
http://randomprojects.org | http://unmaintained-free-software.org




More information about the flashrom mailing list