remove an unused variable
authorRussell Bryant <russell@russellbryant.com>
Mon, 9 Jul 2007 18:58:09 +0000 (18:58 +0000)
committerRussell 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

index 396e71f..128cd53 100644 (file)
@@ -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;