Skip to content

Commit 88bcc7f

Browse files
committed
Fixup cd2c0e0
The variable 'dlh' was being used uninitialized if WSREP_PROVIDER is not set.
1 parent a10a94b commit 88bcc7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mysql-test/lib/My/SafeProcess/wsrep_check_version.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ int main(int argc, char **argv)
9090
if (!provider)
9191
{
9292
fprintf(stderr, "WSREP_PROVIDER is not set\n");
93-
goto err;
93+
return 1;
9494
}
9595
if (!(dlh = dlopen(provider, RTLD_NOW | RTLD_LOCAL)))
9696
{

0 commit comments

Comments
 (0)