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.
This commit is contained in:
Travis Cross 2014-05-29 15:59:49 +00:00
parent 2b0c9a1482
commit b53a6c2b2e
1 changed files with 1 additions and 1 deletions

View File

@ -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;