mirror of
https://github.com/MariaDB/server.git
synced 2025-01-27 01:04:19 +01:00
Fix compile warning
This commit is contained in:
parent
07e89bf7d1
commit
9c8420fe8c
1 changed files with 2 additions and 1 deletions
|
@ -125,7 +125,8 @@ static void get_datadir_from_ini(const char *ini, char *service_name, char *data
|
||||||
{
|
{
|
||||||
if (sections[i])
|
if (sections[i])
|
||||||
{
|
{
|
||||||
GetPrivateProfileStringA(sections[i], "datadir", NULL, datadir, sz, ini);
|
GetPrivateProfileStringA(sections[i], "datadir", NULL, datadir,
|
||||||
|
(DWORD) sz, ini);
|
||||||
if (*datadir)
|
if (*datadir)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue