]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Remove extraneous parentheses in mod_say_pl
authorTravis Cross <tc@traviscross.com>
Sun, 26 May 2013 11:30:05 +0000 (11:30 +0000)
committerTravis Cross <tc@traviscross.com>
Thu, 6 Jun 2013 18:57:32 +0000 (18:57 +0000)
src/mod/say/mod_say_pl/mod_say_pl.c

index a5f7a7acd7bc4fb4d537b1025ac72e1d5aa16759..3103f65a716024bb4a20cd6f3d6e941a1a9f361d 100644 (file)
@@ -81,7 +81,7 @@ static switch_status_t play_group(switch_say_method_t method, switch_say_gender_
 
        if (b) {
                if (b > 1) {
-                       if ((method == SSM_COUNTED)) {
+                       if (method == SSM_COUNTED) {
                                if (gender == SSG_MASCULINE)
                                        switch_say_file(sh, "digits/%d0_pm", b);
                                else if (gender == SSG_FEMININE)
@@ -92,7 +92,7 @@ static switch_status_t play_group(switch_say_method_t method, switch_say_gender_
                                switch_say_file(sh, "digits/%d0", b);
                        }
                } else {
-                       if ((method == SSM_COUNTED)) {
+                       if (method == SSM_COUNTED) {
                                if (gender == SSG_MASCULINE)
                                        switch_say_file(sh, "digits/%d%d_pm", b, c);
                                else if (gender == SSG_FEMININE)