[asterisk-commits] mmichelson: trunk r78192 - /trunk/channels/chan_sip.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Aug 6 12:51:09 CDT 2007
Author: mmichelson
Date: Mon Aug 6 12:51:09 2007
New Revision: 78192
URL: http://svn.digium.com/view/asterisk?view=rev&rev=78192
Log:
Fixing a compiler warning which warns that a variable may be used unitialized. Thanks to mvanbaak for pointing this out.
Modified:
trunk/channels/chan_sip.c
Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?view=diff&rev=78192&r1=78191&r2=78192
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Mon Aug 6 12:51:09 2007
@@ -2938,7 +2938,7 @@
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;
More information about the asterisk-commits
mailing list