]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix var type and make sure all code paths return a value
authorMichael Jerris <mike@jerris.com>
Fri, 22 Dec 2006 03:00:43 +0000 (03:00 +0000)
committerMichael Jerris <mike@jerris.com>
Fri, 22 Dec 2006 03:00:43 +0000 (03:00 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3792 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/say/mod_say_en/mod_say_en.c

index 409733e7cc6a810a52229cd933805459313d94e2..d0120f3208c60b4a045048f71f06af10d8d9c01a 100644 (file)
@@ -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,