aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_iax2.c
diff options
context:
space:
mode:
authorrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2007-07-25 21:58:13 +0000
committerrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2007-07-25 21:58:13 +0000
commitdbf22838614a0cc05e6dd79623d860229aca335a (patch)
treef4056aa6a1aef584227ee69b6a7586f41227b853 /channels/chan_iax2.c
parent6c0994adb06b28d0d28011273b8ea92274ac9ddc (diff)
silence a warning in ast-devmode on a potentially uninitialized var.
At first sight (but the function is very large so i am not 100% sure) the code seems correct, so maybe my compiler is just not smart enough to figure that out at the optimization level it has. Not worthwhile merging to 1.4 i believe. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@77156 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_iax2.c')
-rw-r--r--channels/chan_iax2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c
index b5513594b..dc77f1d7c 100644
--- a/channels/chan_iax2.c
+++ b/channels/chan_iax2.c
@@ -6988,7 +6988,7 @@ static int socket_process(struct iax2_thread *thread)
struct iax_frame *fr;
struct iax_frame *cur;
struct ast_frame f = { 0, };
- struct ast_channel *c;
+ struct ast_channel *c = NULL;
struct iax2_dpcache *dp;
struct iax2_peer *peer;
struct iax_ies ies;