[PATCH xf86-video-vmware] Remove unused variable.

Cyril Brulebois kibi at debian.org
Sat Feb 26 04:57:41 PST 2011


Fix the build with CFLAGS="-Wall -Werror":
|   CC     vmware_drv_la-vmwaremodule.lo
| cc1: warnings being treated as errors
| vmwaremodule.c: In function ‘vmware_chain_module’:
| vmwaremodule.c:178: error: unused variable ‘ret’

Signed-off-by: Cyril Brulebois <kibi at debian.org>
---
 src/vmwaremodule.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/vmwaremodule.c b/src/vmwaremodule.c
index 33d3cff..0da2440 100644
--- a/src/vmwaremodule.c
+++ b/src/vmwaremodule.c
@@ -175,7 +175,6 @@ vmware_chain_module(pointer opts)
     GDevPtr *gdevs;
     GDevPtr gdev;
     int i;
-    pointer ret;
 
     vmware_devices = xf86MatchDevice(VMWARE_DRIVER_NAME, &gdevs);
     vmwgfx_devices = xf86MatchDevice(VMWGFX_DRIVER_NAME, NULL);
-- 
1.7.2.3



More information about the xorg-devel mailing list