mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
Avoid compiler warnings.
This commit is contained in:
parent
28b3218e45
commit
0b69216315
1 changed files with 2 additions and 2 deletions
|
@ -82,9 +82,9 @@ my_bool my_thread_global_init(void)
|
||||||
int pth_ret;
|
int pth_ret;
|
||||||
thd_lib_detected= get_thread_lib();
|
thd_lib_detected= get_thread_lib();
|
||||||
|
|
||||||
if (pth_ret= pthread_key_create(&THR_KEY_mysys, NULL))
|
if ((pth_ret= pthread_key_create(&THR_KEY_mysys, NULL)) != 0)
|
||||||
{
|
{
|
||||||
fprintf(stderr,"Can't initialize threads: pthread error %d\n", pth_ret);
|
fprintf(stderr,"Can't initialize threads: error %d\n", pth_ret);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue