From b53a6c2b2e2830976a54567834bb1ebd84bb9f6e Mon Sep 17 00:00:00 2001 From: Travis Cross Date: Thu, 29 May 2014 15:59:49 +0000 Subject: [PATCH] Remove unused assignment If we don't find it, we create a new one, and if we do find it, we don't use it. --- src/mod/applications/mod_fifo/mod_fifo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/applications/mod_fifo/mod_fifo.c b/src/mod/applications/mod_fifo/mod_fifo.c index 1c6cef66c1..ff00fec256 100644 --- a/src/mod/applications/mod_fifo/mod_fifo.c +++ b/src/mod/applications/mod_fifo/mod_fifo.c @@ -4456,7 +4456,7 @@ static switch_status_t load_config(int reload, int del_all) fifo_execute_sql_queued(&sql, SWITCH_TRUE, SWITCH_TRUE); - if (!(node = switch_core_hash_find(globals.fifo_hash, MANUAL_QUEUE_NAME))) { + if (!switch_core_hash_find(globals.fifo_hash, MANUAL_QUEUE_NAME)) { node = create_node(MANUAL_QUEUE_NAME, 0, globals.sql_mutex); node->ready = 2; node->is_static = 0;