mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-20 02:04:54 +00:00
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 *ret = out;
|
||||
int x = 0;
|
||||
switch_size_t x = 0;
|
||||
|
||||
for(;p && *p; p++) {
|
||||
if ((*p > 47 && *p < 58)) {
|
||||
@ -150,7 +150,7 @@ static switch_status_t en_say_general_count(switch_core_session_t *session,
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
return SWITCH_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
static switch_status_t en_say(switch_core_session_t *session,
|
||||
|
Loading…
x
Reference in New Issue
Block a user