From ca4d37309cf7721bd7fd42d2a95ac5db7d057d01 Mon Sep 17 00:00:00 2001 From: havoc Date: Sun, 11 Mar 2018 18:53:55 +0000 Subject: [PATCH] Fix a couple warnings for unused variables in listdirectory on WIN32. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12345 d7cf8633-e32d-0410-b094-e92efae38249 --- filematch.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/filematch.c b/filematch.c index 95d0e650..14c1d160 100644 --- a/filematch.c +++ b/filematch.c @@ -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)); -- 2.39.2