]> 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>
Sat, 19 Apr 2014 01:49:25 +0000 (01:49 +0000)
We're breaking out of the loop here anyway, so setting done to true is
useless.

src/switch_ivr_play_say.c

index 79ebd92479be5a6fcb7e406096146a058c03878e..cb9b1fdef17b250f1f3c0f0d7791d07ff42f82e1 100644 (file)
@@ -325,7 +325,6 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_phrase_macro_event(switch_core_sessio
                }
 
                if (status != SWITCH_STATUS_SUCCESS) {
-                       done = 1;
                        break;
                }