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:
Keith Packard 2010-08-12 22:56:36 -07:00
parent b5cf9c5090
commit 0af322858e

View File

@ -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)) {