]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Remove unused assignment
authorTravis Cross <tc@traviscross.com>
Thu, 29 May 2014 15:59:49 +0000 (15:59 +0000)
committerTravis Cross <tc@traviscross.com>
Thu, 29 May 2014 16:01:09 +0000 (16:01 +0000)
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

index 1c6cef66c1561d7289e3db0c6126862dd8113a93..ff00fec2567f649d25acf4c5549fc77c8ae1a08c 100644 (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;