1
mirror of https://github.com/mpv-player/mpv synced 2024-11-14 22:48:35 +01:00

msg: remove unnecessary condition

Atomics were made mandatory some time ago.
This commit is contained in:
wm4 2019-06-22 00:01:49 +02:00
parent 7b382f3acd
commit 9083bbda08

View File

@ -569,10 +569,6 @@ struct mp_log_buffer *mp_msg_log_buffer_new(struct mpv_global *global,
{
struct mp_log_root *root = global->log->root;
#if !HAVE_ATOMICS
return NULL;
#endif
pthread_mutex_lock(&mp_msg_lock);
struct mp_log_buffer *buffer = talloc_ptrtype(NULL, buffer);