]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
Fix a couple warnings for unused variables in listdirectory on WIN32.
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 11 Mar 2018 18:53:55 +0000 (18:53 +0000)
committerRudolf Polzer <divVerent@xonotic.org>
Tue, 3 Apr 2018 13:36:21 +0000 (06:36 -0700)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12345 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=ca4d37309cf7721bd7fd42d2a95ac5db7d057d01

filematch.c

index 95d0e650245a137f889d3fc72ea517dc12efb6b7..14c1d1605ab43d77616f2577d7a5ade11549673f 100644 (file)
@@ -164,8 +164,7 @@ static void adddirentry(stringlist_t *list, const char *path, const char *name)
 #ifdef WIN32
 void listdirectory(stringlist_t *list, const char *basepath, const char *path)
 {
-       int i;
-       char pattern[4096], *c;
+       char pattern[4096];
        WIN32_FIND_DATA n_file;
        HANDLE hFile;
        strlcpy (pattern, basepath, sizeof(pattern));