Commit 1c04850b authored by unknown's avatar unknown

Avoid compiler warnings.

parent 0732ad9a
......@@ -82,9 +82,9 @@ my_bool my_thread_global_init(void)
int pth_ret;
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;
}
......
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