diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2012-01-14 15:51:43 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2012-01-14 15:51:43 +0000 |
commit | 0f83634984989c77f45e05adc2ba5440fb0c3beb (patch) | |
tree | 70a06cbc70427ba4f92b61900cd1c1b6995169d5 /res/res_pktccops.c | |
parent | d05a7d45cd3198355f0081d732ee051f676ca609 (diff) |
Multiple revisions 350788-350789
........
r350788 | kpfleming | 2012-01-14 09:22:33 -0600 (Sat, 14 Jan 2012) | 8 lines
Ensure that two prerequisites are properly installed on Debian-style distributions.
* Don't specify a specific version of libgmime; newer versions are available
now and acceptable.
* Install libsrtp so that res_srtp can be built.
........
r350789 | kpfleming | 2012-01-14 09:23:32 -0600 (Sat, 14 Jan 2012) | 3 lines
Correct some 'set-but-not-used' variable warnings.
........
Merged revisions 350788-350789 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........
Merged revisions 350790 from http://svn.asterisk.org/svn/asterisk/branches/10
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@350791 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_pktccops.c')
-rw-r--r-- | res/res_pktccops.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/res/res_pktccops.c b/res/res_pktccops.c index 0572658ac..e3e162587 100644 --- a/res/res_pktccops.c +++ b/res/res_pktccops.c @@ -1029,7 +1029,7 @@ static int load_pktccops_config(void) struct cops_cmts *cmts; struct cops_ippool *new_ippool; const char *host, *cat, *port; - int sfd, update; + int update; int res = 0; uint16_t t1_temp, t7_temp, t8_temp; uint32_t keepalive_temp; @@ -1063,7 +1063,6 @@ static int load_pktccops_config(void) /* Defaults */ host = NULL; port = NULL; - sfd = 0; t1_temp = t1; t7_temp = t7; t8_temp = t8; @@ -1333,7 +1332,6 @@ static char *pktccops_gateset(struct ast_cli_entry *e, int cmd, struct ast_cli_a unsigned int an,bn,cn,dn; uint32_t mta, ssip; struct cops_cmts *cmts; - struct cops_gate *gate; switch (cmd) { case CLI_INIT: @@ -1380,7 +1378,7 @@ static char *pktccops_gateset(struct ast_cli_entry *e, int cmd, struct ast_cli_a } ssip = an << 24 | bn << 16 | cn << 8 | dn; - gate = cops_gate_cmd(GATE_SET, cmts, trid, mta, atoi(a->argv[4]), atof(a->argv[5]), atoi(a->argv[6]), ssip, atoi(a->argv[8]), NULL); + cops_gate_cmd(GATE_SET, cmts, trid, mta, atoi(a->argv[4]), atof(a->argv[5]), atoi(a->argv[6]), ssip, atoi(a->argv[8]), NULL); return CLI_SUCCESS; } |