mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 10:14:19 +01:00
Fix warnings and NetWare compile failure
This commit is contained in:
parent
0ec6432636
commit
f032a223b7
1 changed files with 1 additions and 2 deletions
|
@ -378,7 +378,7 @@ find_file(const char *name, const char *root, uint flags, char *result, size_t l
|
|||
{
|
||||
int ret;
|
||||
va_list va;
|
||||
FILEINFO key= { name };
|
||||
FILEINFO key= { (char*)name, NULL };
|
||||
const char *subdir;
|
||||
char *cp;
|
||||
|
||||
|
@ -395,7 +395,6 @@ find_file(const char *name, const char *root, uint flags, char *result, size_t l
|
|||
{
|
||||
MY_DIR *dir;
|
||||
FILEINFO *match;
|
||||
uint i;
|
||||
char *cp1;
|
||||
|
||||
cp1= strnmov(cp + 1, subdir, len - (cp - result) - 1);
|
||||
|
|
Loading…
Add table
Reference in a new issue