mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-16 17:53:15 +00:00
fix the potential use of an uninitialized variable
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@134916 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -999,7 +999,7 @@ struct iax_frame *iax_frame_new(int direction, int datalen, unsigned int cacheab
|
||||
|
||||
#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)))) {
|
||||
|
Reference in New Issue
Block a user