Silence GCC warning about uninitialized lastSlave variable
Not an actual bug, but gcc can't tell that this variable cannot be used without being initialized Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
b5cf9c5090
commit
0af322858e
|
@ -1358,7 +1358,7 @@ InjectPointerKeyEvents(DeviceIntPtr dev, int type, int button, int flags, int nu
|
|||
ScreenPtr pScreen;
|
||||
EventListPtr events;
|
||||
int nevents, i;
|
||||
DeviceIntPtr ptr, mpointer, lastSlave;
|
||||
DeviceIntPtr ptr, mpointer, lastSlave = NULL;
|
||||
Bool saveWait;
|
||||
|
||||
if (IsMaster(dev)) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user