[svn-commits] russell: trunk r134916 - /trunk/channels/iax2-parser.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Thu Jul 31 14:39:26 CDT 2008
Author: russell
Date: Thu Jul 31 14:39:25 2008
New Revision: 134916
URL: http://svn.digium.com/view/asterisk?view=rev&rev=134916
Log:
fix the potential use of an uninitialized variable
Modified:
trunk/channels/iax2-parser.c
Modified: trunk/channels/iax2-parser.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/iax2-parser.c?view=diff&rev=134916&r1=134915&r2=134916
==============================================================================
--- trunk/channels/iax2-parser.c (original)
+++ trunk/channels/iax2-parser.c Thu Jul 31 14:39:25 2008
@@ -999,7 +999,7 @@
#if !defined(LOW_MEMORY)
struct iax_frames *iax_frames = NULL;
- struct iax_frame *smallest;
+ struct iax_frame *smallest = NULL;
/* Attempt to get a frame from this thread's cache */
if ((iax_frames = ast_threadstorage_get(&frame_cache, sizeof(*iax_frames)))) {
More information about the svn-commits
mailing list