Fix warnings and NetWare compile failure

parent 0ec64326
...@@ -378,7 +378,7 @@ find_file(const char *name, const char *root, uint flags, char *result, size_t l ...@@ -378,7 +378,7 @@ find_file(const char *name, const char *root, uint flags, char *result, size_t l
{ {
int ret; int ret;
va_list va; va_list va;
FILEINFO key= { name }; FILEINFO key= { (char*)name, NULL };
const char *subdir; const char *subdir;
char *cp; char *cp;
...@@ -395,7 +395,6 @@ find_file(const char *name, const char *root, uint flags, char *result, size_t l ...@@ -395,7 +395,6 @@ find_file(const char *name, const char *root, uint flags, char *result, size_t l
{ {
MY_DIR *dir; MY_DIR *dir;
FILEINFO *match; FILEINFO *match;
uint i;
char *cp1; char *cp1;
cp1= strnmov(cp + 1, subdir, len - (cp - result) - 1); cp1= strnmov(cp + 1, subdir, len - (cp - result) - 1);
......
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