diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-07-31 19:39:25 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-07-31 19:39:25 +0000 |
commit | 295533fd8585ab3aa1574dde3fe1e2bcf7c7749e (patch) | |
tree | 857684575591888250d6765178b9054757a5e16d /channels/iax2-parser.c | |
parent | c8ccc483f850a3b80d49ffa690c958524bbd8b95 (diff) |
fix the potential use of an uninitialized variable
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@134916 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/iax2-parser.c')
-rw-r--r-- | channels/iax2-parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)))) { |