Commit 88bcc7f2 authored by Marko Mäkelä's avatar Marko Mäkelä

Fixup cd2c0e01

The variable 'dlh' was being used uninitialized if WSREP_PROVIDER
is not set.
parent a10a94b2
...@@ -90,7 +90,7 @@ int main(int argc, char **argv) ...@@ -90,7 +90,7 @@ int main(int argc, char **argv)
if (!provider) if (!provider)
{ {
fprintf(stderr, "WSREP_PROVIDER is not set\n"); fprintf(stderr, "WSREP_PROVIDER is not set\n");
goto err; return 1;
} }
if (!(dlh = dlopen(provider, RTLD_NOW | RTLD_LOCAL))) if (!(dlh = dlopen(provider, RTLD_NOW | RTLD_LOCAL)))
{ {
......
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