Xi: silence compiler warning
Don't mix declarations and statements.
(cherry picked from commit fb2a8d0e59
)
This commit is contained in:
parent
e56059dfa5
commit
6e8626f2eb
|
@ -804,8 +804,8 @@ UpdateDeviceState(DeviceIntPtr device, xEvent* xE, int count)
|
|||
* dev = event
|
||||
* event = delta
|
||||
*/
|
||||
axisvals = v->axisVal;
|
||||
int delta;
|
||||
axisvals = v->axisVal;
|
||||
if (v->mode == Relative) /* device reports relative */
|
||||
change = TRUE;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user