From 2c97ad1c64d944204d047d7f4ffae143f88de4b3 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Tue, 11 Sep 2007 20:40:49 +0000 Subject: [PATCH] fix warns git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5696 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_sofia/sofia.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index 4ab9923445..52aefda9f4 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -1688,7 +1688,7 @@ const char *_url_set_chanvars(switch_core_session_t *session, url_t *url, const void process_rpid(sip_unknown_t *un, private_object_t *tech_pvt) { int argc, x, screen = 1; - char *mydata, *user, *argv[10] = { 0 }; + char *mydata, *argv[10] = { 0 }; char *display = NULL; size_t n = 0; @@ -1702,7 +1702,7 @@ void process_rpid(sip_unknown_t *un, private_object_t *tech_pvt) tech_pvt->caller_profile->caller_id_name = switch_core_session_strdup(tech_pvt->session, display); } if (*argv[0] == '<') { - char *start, *end; + char *end; argv[0]++; n = strcspn(argv[0], ":"); argv[0] += (n + 1);