From 1eb67bacf53d41cef6f10dcf37e37b530c57c614 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Fri, 3 Oct 2014 17:00:43 +0200 Subject: [PATCH] idnode: remove dead code - coverity --- src/idnode.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/idnode.c b/src/idnode.c index 4bd7bfbf..dcaf58c2 100644 --- a/src/idnode.c +++ b/src/idnode.c @@ -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;