[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 06 of 45] gcc-4.6 compile fix: tools/firmware/rombios/32bit/tcgbios/tcgbios.c
# HG changeset patch # User Olaf Hering <olaf@xxxxxxxxx> # Date 1305824387 -7200 # Node ID 6f3f57bd82e41d6f3036d6686ca24dd2bb01739d # Parent d30215ff28c8f4c02476a4d41a83e76cb2f1f6fa gcc-4.6 compile fix: tools/firmware/rombios/32bit/tcgbios/tcgbios.c tcgbios.c: In function 'HashLogEvent32': tcgbios.c:1067:11: error: variable 'logdatalen' set but not used [-Werror=unused-but-set-variable] Signed-off-by: Olaf Hering <olaf@xxxxxxxxx> diff -r d30215ff28c8 -r 6f3f57bd82e4 tools/firmware/rombios/32bit/tcgbios/tcgbios.c --- a/tools/firmware/rombios/32bit/tcgbios/tcgbios.c Thu May 19 18:59:46 2011 +0200 +++ b/tools/firmware/rombios/32bit/tcgbios/tcgbios.c Thu May 19 18:59:47 2011 +0200 @@ -1064,7 +1064,6 @@ uint32_t HashLogEvent32(struct hlei *hle uint32_t rc = 0; uint16_t size; uint32_t logdataptr; - uint32_t logdatalen; uint32_t hashdataptr; uint32_t hashdatalen; @@ -1084,7 +1083,6 @@ uint32_t HashLogEvent32(struct hlei *hle if (rc == 0) { struct pcpes *pcpes; logdataptr = hlei->logdataptr; - logdatalen = hlei->logdatalen; pcpes = (struct pcpes *)logdataptr; if (pcpes->pcrindex != hlei->pcrindex) { rc = (TCG_PC_TPMERROR | _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |