From: Michael Jerris Date: Fri, 22 Dec 2006 03:00:43 +0000 (+0000) Subject: fix var type and make sure all code paths return a value X-Git-Tag: v1.0-beta1~1468 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=643ef8cc84f65ac8c8e790a291efb0c38fa4b8bf;p=thirdparty%2Ffreeswitch.git 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 --- diff --git a/src/mod/say/mod_say_en/mod_say_en.c b/src/mod/say/mod_say_en/mod_say_en.c index 409733e7cc..d0120f3208 100644 --- a/src/mod/say/mod_say_en/mod_say_en.c +++ b/src/mod/say/mod_say_en/mod_say_en.c @@ -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,