idnode: remove dead code - coverity

This commit is contained in:
Jaroslav Kysela 2014-10-03 17:00:43 +02:00
parent bc1d444ed9
commit 1eb67bacf5

View file

@ -1377,13 +1377,11 @@ idnode_thread ( void *p )
/* Finished */
pthread_mutex_unlock(&global_lock);
htsmsg_destroy(q);
q = NULL;
/* Wait */
usleep(500000);
pthread_mutex_lock(&idnode_mutex);
}
if (q) htsmsg_destroy(q);
pthread_mutex_unlock(&idnode_mutex);
return NULL;