[asterisk-commits] russell: trunk r321003 - in /trunk: ./ channels/chan_alsa.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu May 26 11:54:10 CDT 2011


Author: russell
Date: Thu May 26 11:54:06 2011
New Revision: 321003

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=321003
Log:
Merged revisions 320947 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r320947 | russell | 2011-05-26 10:57:13 -0500 (Thu, 26 May 2011) | 2 lines
  
  Remove some variables that were set but unused.
........

Modified:
    trunk/   (props changed)
    trunk/channels/chan_alsa.c

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

Modified: trunk/channels/chan_alsa.c
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/chan_alsa.c?view=diff&rev=321003&r1=321002&r2=321003
==============================================================================
--- trunk/channels/chan_alsa.c (original)
+++ trunk/channels/chan_alsa.c Thu May 26 11:54:06 2011
@@ -383,7 +383,6 @@
 	static char sizbuf[8000];
 	static int sizpos = 0;
 	int len = sizpos;
-	int pos;
 	int res = 0;
 	/* size_t frames = 0; */
 	snd_pcm_state_t state;
@@ -397,7 +396,6 @@
 	} else {
 		memcpy(sizbuf + sizpos, f->data.ptr, f->datalen);
 		len += f->datalen;
-		pos = 0;
 		state = snd_pcm_state(alsa.ocard);
 		if (state == SND_PCM_STATE_XRUN)
 			snd_pcm_prepare(alsa.ocard);




More information about the asterisk-commits mailing list