projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ddb692
)
remove an unused variable
author
Russell Bryant
<russell@russellbryant.com>
Mon, 9 Jul 2007 18:58:09 +0000
(18:58 +0000)
committer
Russell Bryant
<russell@russellbryant.com>
Mon, 9 Jul 2007 18:58:09 +0000
(18:58 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@74125
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
channels/chan_agent.c
patch
|
blob
|
history
diff --git
a/channels/chan_agent.c
b/channels/chan_agent.c
index
396e71f
..
128cd53
100644
(file)
--- a/
channels/chan_agent.c
+++ b/
channels/chan_agent.c
@@
-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;