fix var type and make sure all code paths return a value
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3792 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
1bc01598e6
commit
643ef8cc84
|
@ -76,7 +76,7 @@ static char *strip_commas(char *in, char *out, switch_size_t len)
|
||||||
{
|
{
|
||||||
char *p = in, *q = out;
|
char *p = in, *q = out;
|
||||||
char *ret = out;
|
char *ret = out;
|
||||||
int x = 0;
|
switch_size_t x = 0;
|
||||||
|
|
||||||
for(;p && *p; p++) {
|
for(;p && *p; p++) {
|
||||||
if ((*p > 47 && *p < 58)) {
|
if ((*p > 47 && *p < 58)) {
|
||||||
|
@ -150,7 +150,7 @@ static switch_status_t en_say_general_count(switch_core_session_t *session,
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
return SWITCH_STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
static switch_status_t en_say(switch_core_session_t *session,
|
static switch_status_t en_say(switch_core_session_t *session,
|
||||||
|
|
Loading…
Reference in New Issue