path: root/internal.c
diff options
authorPeter Lemenkov <>2010-09-20 17:23:38 +0000
committerUwe Hermann <>2010-09-20 17:23:38 +0000
commit0a6f9ca171a205129573c11564c91701bc45f83c (patch)
treef13ccadb18e166402eeaa529276dbc570497a80e /internal.c
parenteaf5ead473f738b948ec307d0f673414e04cf75c (diff)
internal: remove unused variable
The variable 'ret' is unused when compiling on big-endian 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: Corresponding to flashrom svn r1180. Signed-off-by: Peter Lemenkov <> Acked-by: Uwe Hermann <>
Diffstat (limited to 'internal.c')
1 files changed, 2 insertions, 0 deletions
diff --git a/internal.c b/internal.c
index 8b19692..497ce6c 100644
--- a/internal.c
+++ b/internal.c
@@ -118,7 +118,9 @@ int is_laptop = 0;
int internal_init(void)
int ret = 0;
int force_laptop = 0;
char *arg;
OpenPOWER on IntegriCloud