mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-04-28 07:40:49 +02:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue