[asterisk-commits] russell: branch russell/messaging r321519 - /team/russell/messaging/channels/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue May 31 18:20:15 CDT 2011


Author: russell
Date: Tue May 31 18:20:09 2011
New Revision: 321519

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=321519
Log:
Remove instance of res declared in the loop.  Use the one declared at the top of the function.

Modified:
    team/russell/messaging/channels/chan_sip.c

Modified: team/russell/messaging/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/team/russell/messaging/channels/chan_sip.c?view=diff&rev=321519&r1=321518&r2=321519
==============================================================================
--- team/russell/messaging/channels/chan_sip.c (original)
+++ team/russell/messaging/channels/chan_sip.c Tue May 31 18:20:09 2011
@@ -15960,7 +15960,6 @@
 
 	for (i = 0; res >= 0 && i < req->lines; i++) {
 		const char *line = REQ_OFFSET_TO_STR(req, line[i]);
-		int res;
 
 		res = ast_str_append(buf, 0, "%s%s", line, addnewline ? "\n" : "");
 	}




More information about the asterisk-commits mailing list