X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fmisc%2Fthreads.c;h=266584e17e4a8719e80909f492f0527c3265600d;hb=10a6bde56813620846826fed6979b2548a6457ea;hp=2405bdb3720ab654f2cbd9c8d31823c4dca07fbf;hpb=54b65bedc9a2abe2461f650c0d40b387f0839174;p=vlc diff --git a/src/misc/threads.c b/src/misc/threads.c index 2405bdb372..266584e17e 100644 --- a/src/misc/threads.c +++ b/src/misc/threads.c @@ -624,13 +624,8 @@ int __vlc_thread_set_priority( vlc_object_t *p_this, const char * psz_file, if( !p_priv->b_thread ) { -#ifndef __APPLE__ msg_Err( p_this, "couldn't set priority of non-existent thread" ); return ESRCH; -#else -# warning FIXME: this is wrong - p_priv->b_thread = pthread_self(); -#endif } #if defined( LIBVLC_USE_PTHREAD )