summaryrefslogtreecommitdiff
path: root/hw/dmx
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2015-12-08 16:00:19 -0500
committerAdam Jackson <ajax@redhat.com>2015-12-08 18:20:13 -0500
commita55e0bc56fd8f9da8f066dc344af19535dd092ca (patch)
treea942a2d6f89a610c4b58a2076e5b786b92b42911 /hw/dmx
parent2730ccb803c55af74dbdd1bfd982fc23e643554d (diff)
dmx: Silence unused variable warning in dmxcompat
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'hw/dmx')
-rw-r--r--hw/dmx/config/dmxcompat.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/dmx/config/dmxcompat.c b/hw/dmx/config/dmxcompat.c
index 107991a96..6d31b5300 100644
--- a/hw/dmx/config/dmxcompat.c
+++ b/hw/dmx/config/dmxcompat.c
@@ -123,7 +123,6 @@ 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;
@@ -167,7 +166,6 @@ dmxVDLRead(const char *filename)
state = virtualCount;
break;
case virtualCount:
- vcount = dmxVDLCount(buf);
state = virtualEntry;
break;
case virtualEntry: