Bug 17692 - [patch] Fix use of unassigned variable in _XkbSetDeviceInfoCheck
Summary: [patch] Fix use of unassigned variable in _XkbSetDeviceInfoCheck
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-21 05:05 UTC by Kim Woelders
Modified: 2008-09-21 16:10 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
patch (2.14 KB, patch)
2008-09-21 05:06 UTC, Kim Woelders
no flags Details | Splinter Review

Description Kim Woelders 2008-09-21 05:05:07 UTC
In xkb/xkb.c - _XkbSetDeviceInfoCheck() the variable "change" is used without being assigned.
Attached patch fixes that (hunks 2+3, the other hunks are mostly cosmetic to eliminate other "change" variables, and access stuff->change consistently).
Comment 1 Kim Woelders 2008-09-21 05:06:55 UTC
Created attachment 19058 [details] [review]
patch
Comment 2 Peter Hutterer 2008-09-21 16:10:25 UTC
Pushed as 8c46505d7d91e0644b19cccc4b342fceb6f86cab. Thanks for the patch!


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.