[asterisk-commits] jrose: branch 12 r412549 - /branches/12/main/app.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Apr 17 17:42:20 CDT 2014
Author: jrose
Date: Thu Apr 17 17:42:16 2014
New Revision: 412549
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=412549
Log:
Fix a silly shadowed variable mistake that was missed from play tones patch
Modified:
branches/12/main/app.c
Modified: branches/12/main/app.c
URL: http://svnview.digium.com/svn/asterisk/branches/12/main/app.c?view=diff&rev=412549&r1=412548&r2=412549
==============================================================================
--- branches/12/main/app.c (original)
+++ branches/12/main/app.c Thu Apr 17 17:42:16 2014
@@ -1140,7 +1140,7 @@
struct ast_tone_zone *zone = NULL;
struct ast_tone_zone_sound *ts;
int paused = 0;
- int res;
+ int res = 0;
const char *tone_indication = NULL;
const char *tone_zone = NULL;
@@ -1168,7 +1168,6 @@
for (;;) {
struct ast_frame *fr;
- int res;
if (ast_waitfor(chan, -1) < 0) {
res = -1;
More information about the asterisk-commits
mailing list