提交 643ef8cc authored 作者: Michael Jerris's avatar Michael Jerris

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
上级 1bc01598
...@@ -76,7 +76,7 @@ static char *strip_commas(char *in, char *out, switch_size_t len) ...@@ -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, ...@@ -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,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论