[PATCH 16/30] dmx: Stop setting vcount for nothing.
Cyril Brulebois
kibi at debian.org
Fri May 20 08:35:26 PDT 2011
Also delete the dmxVDLCount() call, which has no side-effect.
Signed-off-by: Cyril Brulebois <kibi at debian.org>
---
hw/dmx/config/dmxcompat.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/hw/dmx/config/dmxcompat.c b/hw/dmx/config/dmxcompat.c
index b4190ff..a32f8f1 100644
--- a/hw/dmx/config/dmxcompat.c
+++ b/hw/dmx/config/dmxcompat.c
@@ -119,7 +119,6 @@ DMXConfigEntryPtr dmxVDLRead(const char *filename)
DMXConfigSubPtr sub = NULL;
DMXConfigDisplayPtr display = NULL;
DMXConfigFullDimPtr fdim = NULL;
- int vcount = 0;
int dcount = 0;
int icount = 0;
int x, y, xoff, yoff, xorig, yorig;
@@ -160,7 +159,6 @@ DMXConfigEntryPtr dmxVDLRead(const char *filename)
state = virtualCount;
break;
case virtualCount:
- vcount = dmxVDLCount(buf);
state = virtualEntry;
break;
case virtualEntry:
--
1.7.5.1
More information about the xorg-devel
mailing list