diff options
author | Mark Michelson <mmichelson@digium.com> | 2007-08-06 17:51:09 +0000 |
---|---|---|
committer | Mark Michelson <mmichelson@digium.com> | 2007-08-06 17:51:09 +0000 |
commit | 8f17952065ac267e524701d383533a3ef45f6b62 (patch) | |
tree | ebc7a1e932878cf179247d8b2ab795465a2ec4a6 /channels | |
parent | c4c0e45c8ba906383b5798765ee82f922dfadb9c (diff) |
Fixing a compiler warning which warns that a variable may be used unitialized. Thanks to mvanbaak for pointing this out.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@78192 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_sip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 6cc7cbb64..f6681709e 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -2938,7 +2938,7 @@ static void update_peer(struct sip_peer *p, int expiry) static struct ast_variable *get_insecure_variable_from_config(struct ast_config *config) { - struct ast_variable *var; + struct ast_variable *var = NULL; struct ast_flags flags = {0}; char *cat = NULL; const char *insecure; |