On Mon, Jun 20, 2011 at 05:34:07PM -0700, Ping Cheng wrote:
> Initialize rotation to ROTATE_NONE so compiler won't complain.

that's actually a bug, not just a compiler option. for a rotation value of
"NONE", we'd set rotation to whatever random value rotation had at the time.

I'll amend the commit message to that extent before pushing.

Cheers,
  Peter

 
> 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