[Asterisk-cvs] asterisk/res res_config_odbc.c,1.5,1.6
anthm at lists.digium.com
anthm at lists.digium.com
Tue Jul 13 19:07:32 CDT 2004
Update of /usr/cvsroot/asterisk/res
In directory mongoose.digium.com:/tmp/cvs-serv19533/res
Modified Files:
res_config_odbc.c
Log Message:
fix compiler warning in res_config_odbc.c
Index: res_config_odbc.c
===================================================================
RCS file: /usr/cvsroot/asterisk/res/res_config_odbc.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- res_config_odbc.c 9 Jul 2004 14:47:59 -0000 1.5
+++ res_config_odbc.c 13 Jul 2004 22:53:17 -0000 1.6
@@ -42,10 +42,10 @@
char connection[128];
int configured = 0, res = 0;
odbc_obj *obj;
- SQLINTEGER err, commented, cat_metric, var_metric, last_cat_metric;
+ SQLINTEGER err=0, commented=0, cat_metric=0, var_metric=0, last_cat_metric=0;
SQLBIGINT id;
char sql[255], filename[128], category[128], var_name[128], var_val[128];
- SQLSMALLINT rowcount;
+ SQLSMALLINT rowcount=0;
SQLHSTMT stmt;
char last[80];
int cat_started = 0;
More information about the svn-commits
mailing list