Fixup cd2c0e013ccb5f9b009743dfd7188585a539d9b5
The variable 'dlh' was being used uninitialized if WSREP_PROVIDER is not set.
This commit is contained in:
parent
a10a94b262
commit
88bcc7f21c
@ -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)))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user