summaryrefslogtreecommitdiff
path: root/src/common/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/utils.c')
-rw-r--r--src/common/utils.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/common/utils.c b/src/common/utils.c
index c7b3b517a..6d4abb26d 100644
--- a/src/common/utils.c
+++ b/src/common/utils.c
@@ -8,12 +8,10 @@
#ifdef WIN32
#include <windows.h>
- #define PATHSEP '\\'
#else
#include <unistd.h>
#include <dirent.h>
#include <sys/stat.h>
- #define PATHSEP '/'
#endif
#include "utils.h"
@@ -285,8 +283,8 @@ void findfile(const char *p, const char *pat, void (func)(const char*))
}
}while (FindNextFile(hFind, &FindFileData) != 0);
FindClose(hFind);
- }
- return;
+ }
+ return;
}
#else