Commit f5eec574 authored by John van Groningen's avatar John van Groningen
Browse files

refactor to prevent unused variable warnings from the c compiler in cDirectory.c for unix

parent 2da60dc5
......@@ -60,8 +60,6 @@ static int unix_error_to_clean_error(int errCode)
static int openSearch(const char *path, int length)
{
int i;
gPathLength = length;
gPath = (char*) malloc(gPathLength+NAME_MAX+2);
if (!gPath) {
......@@ -184,7 +182,7 @@ void closeSearchC()
int findSingleFileC(CleanString cs_path)
{
int err,i,length;
int i,length;
char *path_chars;
gFileStat.st_size = 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment