diff options
author | Keith Packard <keithp@keithp.com> | 2010-08-12 22:56:36 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2010-08-12 22:58:39 -0700 |
commit | 0af322858e86665ee43f065741318e69c2755510 (patch) | |
tree | 7ea2d5d4e9c09e9540c1d903e03e0304f3f16991 | |
parent | b5cf9c5090d15a50b105470900823f2d398d4bd2 (diff) |
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>
-rw-r--r-- | xkb/xkbActions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xkb/xkbActions.c b/xkb/xkbActions.c index 59c7fc5e5..8c75301b0 100644 --- a/xkb/xkbActions.c +++ b/xkb/xkbActions.c @@ -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)) { |