|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH 04 of 45] gcc-4.6 compile fix: tools/misc/gtraceview.
# HG changeset patch
# User Olaf Hering <olaf@xxxxxxxxx>
# Date 1305824385 -7200
# Node ID cc966312031cef3c6463c77287087a339594fe18
# Parent cb0ed92e451d06789cb1a0ba14967bda3a7a5bcb
gcc-4.6 compile fix: tools/misc/gtraceview.c
gtraceview.c: In function 'nr_addch':
gtraceview.c:625:9: error: variable 'y' set but not used
[-Werror=unused-but-set-variable]
Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>
diff -r cb0ed92e451d -r cc966312031c tools/misc/gtraceview.c
--- a/tools/misc/gtraceview.c Thu May 19 18:59:44 2011 +0200
+++ b/tools/misc/gtraceview.c Thu May 19 18:59:45 2011 +0200
@@ -622,8 +622,7 @@ void crt_init(void)
void nr_addch(int nr, int ch)
{
int i;
- int y, x;
- getyx(stdscr, y, x);
+ int x = getcurx(stdscr);
for (i = 0; i < nr; i++) {
if (x == COLS-1)
break;
_______________________________________________
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
|
|
|
|
|