aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-12-15 22:51:21 +0100
committerMarc Haesen <marc@hc-consult.be>2011-12-15 22:51:21 +0100
commit9800c8726697243c532072c77c635aac37dbcb13 (patch)
treea5adc33ee2dfcd260bbac3dc3be728631f45ea69
parentbff3d118f8312f227f51291f9096a2871c61c756 (diff)
downloadvcxsrv-9800c8726697243c532072c77c635aac37dbcb13.tar.gz
vcxsrv-9800c8726697243c532072c77c635aac37dbcb13.tar.bz2
vcxsrv-9800c8726697243c532072c77c635aac37dbcb13.zip
Solved compilation warning: possible use of uninitialised variable
-rw-r--r--xorg-server/dix/events.c5
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;