aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2009-07-30 18:28:28 +0000
committermarha <marha@users.sourceforge.net>2009-07-30 18:28:28 +0000
commit63da63dd8b5abf8fe804ce01652ea84c03a58074 (patch)
treec63dcceb7c316601f92412b5990dcaea6f302c04
parentf0f36de08783203222d2c1778ae8777db1b0fd25 (diff)
downloadvcxsrv-63da63dd8b5abf8fe804ce01652ea84c03a58074.tar.gz
vcxsrv-63da63dd8b5abf8fe804ce01652ea84c03a58074.tar.bz2
vcxsrv-63da63dd8b5abf8fe804ce01652ea84c03a58074.zip
Solved uninitialised variable error in WIN32
-rw-r--r--xkbcomp/listing.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xkbcomp/listing.c b/xkbcomp/listing.c
index a3d4ce486..d62e39b21 100644
--- a/xkbcomp/listing.c
+++ b/xkbcomp/listing.c
@@ -298,6 +298,7 @@ AddDirectory(char *head, char *ptrn, char *rest, char *map)
#ifdef WIN32
if ((dirh = FindFirstFile("*.*", &file)) == INVALID_HANDLE_VALUE)
return 0;
+ nMatch = 0;
#else
if ((dirp = opendir((head ? head : "."))) == NULL)
return 0;