[svn-commits] kpfleming: trunk r98989 - /trunk/res/res_config_curl.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Thu Jan 17 09:04:55 CST 2008
Author: kpfleming
Date: Thu Jan 17 09:04:54 2008
New Revision: 98989
URL: http://svn.digium.com/view/asterisk?view=rev&rev=98989
Log:
resolve (valid) compiler warning about variable that could be used before being initialized
Modified:
trunk/res/res_config_curl.c
Modified: trunk/res/res_config_curl.c
URL: http://svn.digium.com/view/asterisk/trunk/res/res_config_curl.c?view=diff&rev=98989&r1=98988&r2=98989
==============================================================================
--- trunk/res/res_config_curl.c (original)
+++ trunk/res/res_config_curl.c Thu Jan 17 09:04:54 2008
@@ -407,7 +407,7 @@
struct ast_str *query;
char buf1[200];
char *stringp, *line, *pair, *key;
- int EncodeSpecialChars = 1, last_cat_metric = -1, cat_metric;
+ int EncodeSpecialChars = 1, last_cat_metric = -1, cat_metric = -1;
struct ast_category *cat=NULL;
char *buffer, *cur_cat = "";
char *category = "", *var_name = "", *var_val = "";
More information about the svn-commits
mailing list