mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
remove an unused variable
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@74125 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2139,7 +2139,6 @@ static int agent_devicestate(void *data)
|
||||
char *s;
|
||||
ast_group_t groupmatch;
|
||||
int groupoff;
|
||||
int waitforagent=0;
|
||||
int res = AST_DEVICE_INVALID;
|
||||
|
||||
s = data;
|
||||
@@ -2147,7 +2146,6 @@ static int agent_devicestate(void *data)
|
||||
groupmatch = (1 << groupoff);
|
||||
else if ((s[0] == ':') && (sscanf(s + 1, "%d", &groupoff) == 1)) {
|
||||
groupmatch = (1 << groupoff);
|
||||
waitforagent = 1;
|
||||
} else
|
||||
groupmatch = 0;
|
||||
|
||||
|
Reference in New Issue
Block a user