diff options
author | marha <marha@users.sourceforge.net> | 2009-07-30 18:28:28 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2009-07-30 18:28:28 +0000 |
commit | 63da63dd8b5abf8fe804ce01652ea84c03a58074 (patch) | |
tree | c63dcceb7c316601f92412b5990dcaea6f302c04 /xkbcomp | |
parent | f0f36de08783203222d2c1778ae8777db1b0fd25 (diff) | |
download | vcxsrv-63da63dd8b5abf8fe804ce01652ea84c03a58074.tar.gz vcxsrv-63da63dd8b5abf8fe804ce01652ea84c03a58074.tar.bz2 vcxsrv-63da63dd8b5abf8fe804ce01652ea84c03a58074.zip |
Solved uninitialised variable error in WIN32
Diffstat (limited to 'xkbcomp')
-rw-r--r-- | xkbcomp/listing.c | 1 |
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; |