Initialize rotation to ROTATE_NONE so compiler won't complain.

Signed-off-by: Ping Cheng <pingl...@gmail.com>
---
 src/wcmValidateDevice.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/wcmValidateDevice.c b/src/wcmValidateDevice.c
index 409a42f..e2598cb 100644
--- a/src/wcmValidateDevice.c
+++ b/src/wcmValidateDevice.c
@@ -719,7 +719,7 @@ Bool wcmParseOptions(InputInfoPtr pInfo, Bool is_primary, 
Bool is_dependent)
 
        if (s)
        {
-               int rotation;
+               int rotation = ROTATE_NONE;
 
                if (xf86NameCmp(s, "CW") == 0)
                        rotation = ROTATE_CW;
-- 
1.7.5.4


------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to