[PATCH 2/5] dmx: Silence unused variable warning in dmxcompat

Adam Jackson ajax at redhat.com
Tue Dec 8 13:05:52 PST 2015


Signed-off-by: Adam Jackson <ajax at redhat.com>
---
 hw/dmx/config/dmxcompat.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/hw/dmx/config/dmxcompat.c b/hw/dmx/config/dmxcompat.c
index 107991a..6d31b53 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:
-- 
2.5.0



More information about the xorg-devel mailing list