|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH 06 of 45] gcc-4.6 compile fix: tools/firmware/rombios
# 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
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
[Xen-devel] [PATCH 04 of 45] gcc-4.6 compile fix: tools/misc/gtraceview.c, Olaf Hering
[Xen-devel] [PATCH 05 of 45] gcc-4.6 compile fix: tools/xcutils/xc_restore.c, Olaf Hering
[Xen-devel] [PATCH 06 of 45] gcc-4.6 compile fix: tools/firmware/rombios/32bit/tcgbios/tcgbios.c,
Olaf Hering <=
[Xen-devel] [PATCH 07 of 45] gcc-4.6 compile fix: tools/console/client/main.c, Olaf Hering
[Xen-devel] [PATCH 08 of 45] gcc-4.6 compile fix: tools/xenstat/xentop/xentop.c, Olaf Hering
[Xen-devel] [PATCH 09 of 45] gcc-4.6 compile fix: tools/libxl/xl_cmdimpl.c, Olaf Hering
[Xen-devel] [PATCH 10 of 45] gcc-4.6 compile fix: tools/libxl/libxlu_cfg.c, Olaf Hering
[Xen-devel] [PATCH 11 of 45] gcc-4.6 compile fix: tools/libxl/libxl.c, Olaf Hering
[Xen-devel] [PATCH 12 of 45] gcc-4.6 compile fix: tools/libxl/libxl_pci.c, Olaf Hering
[Xen-devel] [PATCH 13 of 45] gcc-4.6 compile fix: tools/libxl/libxl_dom.c, Olaf Hering
[Xen-devel] [PATCH 14 of 45] gcc-4.6 compile fix: tools/libxl/libxl_utils.c, Olaf Hering
[Xen-devel] [PATCH 15 of 45] gcc-4.6 compile fix: tools/debugger/gdbsx/gx/gx_comm.c, Olaf Hering
[Xen-devel] [PATCH 16 of 45] gcc-4.6 compile fix: tools/python/xen/lowlevel/checkpoint/libcheckpoint.c, Olaf Hering
|
|
|
|
|