[asterisk-commits] pabelanger: branch 10 r356431 - in /branches/10: ./ addons/chan_ooh323.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Feb 22 21:59:49 CST 2012


Author: pabelanger
Date: Wed Feb 22 21:59:46 2012
New Revision: 356431

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=356431
Log:
Fix -Werror=unused-but-set-variable compiler error (gcc 4.6.2)
........

Merged revisions 356430 from http://svn.asterisk.org/svn/asterisk/branches/1.8

Modified:
    branches/10/   (props changed)
    branches/10/addons/chan_ooh323.c

Propchange: branches/10/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.

Modified: branches/10/addons/chan_ooh323.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/addons/chan_ooh323.c?view=diff&rev=356431&r1=356430&r2=356431
==============================================================================
--- branches/10/addons/chan_ooh323.c (original)
+++ branches/10/addons/chan_ooh323.c Wed Feb 22 21:59:46 2012
@@ -4167,7 +4167,6 @@
 	/* XXX Deal with Video */
 	struct ooh323_pvt *p;
 	struct ast_sockaddr tmp;
-	int mode;
 
 	if (gH323Debug)
 		ast_verbose("---   ooh323_set_peer - %s\n", chan->name);
@@ -4176,7 +4175,6 @@
 		return 0;
 	}
 
-	mode = ooh323_convertAsteriskCapToH323Cap(&chan->writeformat); 
 	p = (struct ooh323_pvt *) chan->tech_pvt;
 	if (!p) {
 		ast_log(LOG_ERROR, "No Private Structure, this is bad\n");




More information about the asterisk-commits mailing list