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)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 11 Mar 2018 18:53:55 +0000 (18:53 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12345 d7cf8633-e32d-0410-b094-e92efae38249

filematch.c

index 95d0e65..14c1d16 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));