./src/wcmValidateDevice.c: In function 'wcmHotplugOthers':
./src/wcmValidateDevice.c:515:8: warning: variable 'device' set but not
used [-Wunused-but-set-variable]

Signed-off-by: Peter Hutterer <[email protected]>
---
 src/wcmValidateDevice.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/wcmValidateDevice.c b/src/wcmValidateDevice.c
index fec481d..2f44717 100644
--- a/src/wcmValidateDevice.c
+++ b/src/wcmValidateDevice.c
@@ -512,10 +512,9 @@ static void wcmHotplugSerials(InputInfoPtr pInfo, const 
char *basename)
 void wcmHotplugOthers(InputInfoPtr pInfo, const char *basename)
 {
        int i, skip = 1;
-       char*           device;
 
-        xf86Msg(X_INFO, "%s: hotplugging dependent devices.\n", pInfo->name);
-       device = xf86SetStrOption(pInfo->options, "Device", NULL);
+       xf86Msg(X_INFO, "%s: hotplugging dependent devices.\n", pInfo->name);
+
         /* same loop is used to init the first device, if we get here we
          * need to start at the second one */
        for (i = 0; i < ARRAY_SIZE(wcmType); i++)
-- 
1.7.5.4


------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Linuxwacom-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to