1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00
The variable 'dlh' was being used uninitialized if WSREP_PROVIDER
is not set.
This commit is contained in:
Marko Mäkelä
2020-01-31 09:17:12 +02:00
parent a10a94b262
commit 88bcc7f21c

View File

@ -90,7 +90,7 @@ int main(int argc, char **argv)
if (!provider)
{
fprintf(stderr, "WSREP_PROVIDER is not set\n");
goto err;
return 1;
}
if (!(dlh = dlopen(provider, RTLD_NOW | RTLD_LOCAL)))
{