Signed-off-by: Terry Lambert <[email protected]>
Reviewed-by: Stephane Marchesin <[email protected]>
---
 src/void.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/void.c b/src/void.c
index 0184893..b1225d6 100644
--- a/src/void.c
+++ b/src/void.c
@@ -171,6 +171,9 @@ xf86VoidControlProc(DeviceIntPtr device, int what)
     case DEVICE_CLOSE:
        device->public.on = FALSE;
        break;
+
+    default:
+       return BadValue;
     }
     return Success;
 }
-- 
1.7.3.1

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to