[coreboot] New patch to review for coreboot: 61ca4af cbfstool: drop unused variable

Stefan Reinauer (stefan.reinauer@coreboot.org) gerrit at coreboot.org
Wed Mar 13 22:16:28 CET 2013


Stefan Reinauer (stefan.reinauer at coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/2713

-gerrit

commit 61ca4af8d47ab2e56f8908f53279eb6470acd266
Author: Stefan Reinauer <reinauer at chromium.org>
Date:   Wed Mar 13 14:15:24 2013 -0700

    cbfstool: drop unused variable
    
    This broke the build when manually compiling cbfstool in
    util/cbfstool.
    
    Change-Id: I57afc74f8c2723d9dc749707f8bcb6cfff477769
    Signed-off-by: Stefan Reinauer <reinauer at google.com>
---
 util/cbfstool/common.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/util/cbfstool/common.c b/util/cbfstool/common.c
index 0517d9a..11dd45b 100644
--- a/util/cbfstool/common.c
+++ b/util/cbfstool/common.c
@@ -881,7 +881,6 @@ struct cbfs_file *cbfs_find_file(const char *name)
 		}
 		struct cbfs_file *thisfile =
 		    (struct cbfs_file *)phys_to_virt(current);
-		uint32_t length = ntohl(thisfile->len);
 		char *fname = (char *)(phys_to_virt(current) + sizeof(struct cbfs_file));
 		if (!strcmp(fname, name))
 			return thisfile;



More information about the coreboot mailing list