[flashrom] [commit] r1180 - trunk

repository service svn at flashrom.org
Mon Sep 20 19:23:38 CEST 2010

Author: uwe
Date: Mon Sep 20 19:23:38 2010
New Revision: 1180
URL: http://flashrom.org/trac/flashrom/changeset/1180

The variable 'ret' is unused when compiling on BigEndian architecture.

This produces an "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:


Signed-off-by: Peter Lemenkov <lemenkov at gmail.com>
Acked-by: Uwe Hermann <uwe at hermann-uwe.de>


Modified: trunk/internal.c
--- trunk/internal.c	Sun Sep 19 01:42:36 2010	(r1179)
+++ trunk/internal.c	Mon Sep 20 19:23:38 2010	(r1180)
@@ -118,7 +118,9 @@
 int internal_init(void)
 	int ret = 0;
 	int force_laptop = 0;
 	char *arg;

More information about the flashrom mailing list