diff options
author | marha <marha@users.sourceforge.net> | 2011-12-15 22:51:21 +0100 |
---|---|---|
committer | Marc Haesen <marc@hc-consult.be> | 2011-12-15 22:51:21 +0100 |
commit | 9800c8726697243c532072c77c635aac37dbcb13 (patch) | |
tree | a5adc33ee2dfcd260bbac3dc3be728631f45ea69 /xorg-server/dix | |
parent | bff3d118f8312f227f51291f9096a2871c61c756 (diff) | |
download | vcxsrv-9800c8726697243c532072c77c635aac37dbcb13.tar.gz vcxsrv-9800c8726697243c532072c77c635aac37dbcb13.tar.bz2 vcxsrv-9800c8726697243c532072c77c635aac37dbcb13.zip |
Solved compilation warning: possible use of uninitialised variable
Diffstat (limited to 'xorg-server/dix')
-rw-r--r-- | xorg-server/dix/events.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/xorg-server/dix/events.c b/xorg-server/dix/events.c index 3d75104b3..16afb7548 100644 --- a/xorg-server/dix/events.c +++ b/xorg-server/dix/events.c @@ -1218,7 +1218,7 @@ void PlayReleasedEvents(void) { QdEventPtr tmp; - QdEventPtr qe; + QdEventPtr qe=NULL; DeviceIntPtr dev; DeviceIntPtr pDev; @@ -5259,7 +5259,8 @@ void InitEvents(void) { int i; - QdEventPtr qe, tmp; + QdEventPtr qe=NULL; + QdEventPtr tmp; inputInfo.numDevices = 0; inputInfo.devices = (DeviceIntPtr)NULL; |