make MikeJ happy - switch_assert argv[0] != NULL

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11623 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Rupa Schomaker 2009-02-03 22:19:31 +00:00
parent 7a912016b8
commit 5d0d61c7ff
1 changed files with 1 additions and 0 deletions

View File

@ -663,6 +663,7 @@ SWITCH_STANDARD_API(dialplan_lcr_function)
mydata = switch_core_strdup(pool, cmd);
if ((argc = switch_separate_string(mydata, ' ', argv, (sizeof(argv) / sizeof(argv[0]))))) {
switch_assert(argv[0] != NULL);
destination_number = switch_core_strdup(pool, argv[0]);
if(argc > 1) {
lcr_profile = argv[1];