Remove a variable that is set but unused.

git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@497 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
Tim Cava
2014-03-02 21:25:49 +00:00
parent b3cd3509d0
commit 72a20a8b82

View File

@@ -2203,8 +2203,7 @@ char *booya = NULL;
char *path = NULL; char *path = NULL;
char *path2, *freeme; char *path2, *freeme;
glob_t globbers; glob_t globbers;
int numglobs = 0, i; int globtype = GLOB_MARK, i;
int globtype = GLOB_MARK;
#if defined(__EMX__) || defined(WINNT) #if defined(__EMX__) || defined(WINNT)
if (possible && *possible) if (possible && *possible)
@@ -2424,7 +2423,7 @@ int globtype = GLOB_MARK;
if (!path2) if (!path2)
path2 = path; path2 = path;
memset(&globbers, 0, sizeof(glob_t)); memset(&globbers, 0, sizeof(glob_t));
numglobs = glob(path2, globtype, NULL, &globbers); glob(path2, globtype, NULL, &globbers);
for (i = 0; i < globbers.gl_pathc; i++) for (i = 0; i < globbers.gl_pathc; i++)
{ {
if (strchr(globbers.gl_pathv[i], ' ')) if (strchr(globbers.gl_pathv[i], ' '))