fix warns
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5696 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
3bcbb71a21
commit
2c97ad1c64
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue