mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-13 12:40:17 +00:00
mod_fifo: Replace global var with local static
This marker value is only used in one place.
This commit is contained in:
parent
2068b284cc
commit
0526e00457
@ -111,8 +111,6 @@ typedef enum {
|
||||
NODE_STRATEGY_ENTERPRISE
|
||||
} outbound_strategy_t;
|
||||
|
||||
static int marker = 1;
|
||||
|
||||
typedef struct {
|
||||
int nelm;
|
||||
int idx;
|
||||
@ -796,6 +794,7 @@ static int check_bridge_call(const char *key)
|
||||
|
||||
static void add_bridge_call(const char *key)
|
||||
{
|
||||
static int marker = 1;
|
||||
if (!key) return;
|
||||
|
||||
switch_mutex_lock(globals.bridge_mutex);
|
||||
|
Loading…
x
Reference in New Issue
Block a user