]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Remove variable assignment without effect
authorTravis Cross <tc@traviscross.com>
Wed, 9 Apr 2014 07:28:25 +0000 (07:28 +0000)
committerTravis Cross <tc@traviscross.com>
Wed, 9 Apr 2014 18:41:02 +0000 (18:41 +0000)
We're breaking out of the loop here anyway, so setting done to true is
useless.

src/switch_ivr_play_say.c

index 0e8cd245984fbb9573228ff729d97ede4b4417f0..38c886ae672c5bfa588a260cd8ef30302daa0e88 100644 (file)
@@ -324,7 +324,6 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_phrase_macro_event(switch_core_sessio
                }
 
                if (status != SWITCH_STATUS_SUCCESS) {
-                       done = 1;
                        break;
                }