aboutsummaryrefslogtreecommitdiffstats
path: root/channels/sip/sdp_crypto.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2011-05-05 22:44:52 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2011-05-05 22:44:52 +0000
commit09c11738f2b456ec92a8aa499c704692899b8cd0 (patch)
tree2b7d632f7f42d434363d7dee71d987562eb56ed9 /channels/sip/sdp_crypto.c
parent8a4c82c4b72f96bb402a8ffb77b22bb9eb80c266 (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: http://svn.digium.com/svn/asterisk/trunk@317475 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/sip/sdp_crypto.c')
-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, " ");