[svn-commits] rizzo: branch rizzo/astobj2 r47938 - /team/rizzo/astobj2/channels/chan_sip.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Wed Nov 22 11:22:49 MST 2006


Author: rizzo
Date: Wed Nov 22 12:22:48 2006
New Revision: 47938

URL: http://svn.digium.com/view/asterisk?view=rev&rev=47938
Log:
remove an unused variable (a very large one) from
handle_request().

definitely trunk and 1.4 candidate


Modified:
    team/rizzo/astobj2/channels/chan_sip.c

Modified: team/rizzo/astobj2/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/team/rizzo/astobj2/channels/chan_sip.c?view=diff&rev=47938&r1=47937&r2=47938
==============================================================================
--- team/rizzo/astobj2/channels/chan_sip.c (original)
+++ team/rizzo/astobj2/channels/chan_sip.c Wed Nov 22 12:22:48 2006
@@ -14962,7 +14962,6 @@
 {
 	/* Called with p->lock held, as well as p->owner->lock if appropriate, keeping things
 	   relatively static */
-	struct sip_request resp;
 	const char *cmd;
 	const char *cseq;
 	const char *useragent;
@@ -14973,9 +14972,6 @@
 	int debug = sip_debug_test_pvt(p);
 	char *e;
 	int error = 0;
-
-	/* Clear out potential response */
-	memset(&resp, 0, sizeof(resp));
 
 	/* Get Method and Cseq */
 	cseq = get_header(req, "Cseq");



More information about the svn-commits mailing list