summaryrefslogtreecommitdiff
path: root/channels/sip
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2011-05-05 22:44:52 +0000
committerRussell Bryant <russell@russellbryant.com>2011-05-05 22:44:52 +0000
commitf0f5e237bf96ed5531b164935bbe8dca1c7b70ed (patch)
tree2b7d632f7f42d434363d7dee71d987562eb56ed9 /channels/sip
parentc28e2d380c185b8cda44b468504bb8a6892714a6 (diff)
Merged revisions 317474 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8 ........ r317474 | russell | 2011-05-05 17:36:33 -0500 (Thu, 05 May 2011) | 2 lines Fix more "set but unused" warnings. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@317475 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/sip')
-rw-r--r--channels/sip/sdp_crypto.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/channels/sip/sdp_crypto.c b/channels/sip/sdp_crypto.c
index 94bf85619..9abf79ebc 100644
--- a/channels/sip/sdp_crypto.c
+++ b/channels/sip/sdp_crypto.c
@@ -191,7 +191,6 @@ err:
int sdp_crypto_process(struct sdp_crypto *p, const char *attr, struct ast_rtp_instance *rtp)
{
char *str = NULL;
- char *name = NULL;
char *tag = NULL;
char *suite = NULL;
char *key_params = NULL;
@@ -211,7 +210,7 @@ int sdp_crypto_process(struct sdp_crypto *p, const char *attr, struct ast_rtp_in
str = ast_strdupa(attr);
- name = strsep(&str, ":");
+ strsep(&str, ":");
tag = strsep(&str, " ");
suite = strsep(&str, " ");
key_params = strsep(&str, " ");