From b4b0412698bf154774ac3a553648026fde4b6af1 Mon Sep 17 00:00:00 2001 From: russell Date: Thu, 31 Jul 2008 19:39:25 +0000 Subject: [PATCH] fix the potential use of an uninitialized variable git-svn-id: http://svn.digium.com/svn/asterisk/trunk@134916 614ede4d-c843-0410-af14-a771ab80d22e --- channels/iax2-parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/channels/iax2-parser.c b/channels/iax2-parser.c index 55c363f66..010c85056 100644 --- a/channels/iax2-parser.c +++ b/channels/iax2-parser.c @@ -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)))) { -- 2.11.4.GIT