fix compiler warning in res_config_odbc.c

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3424 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Anthony Minessale II
2004-07-13 22:53:17 +00:00
parent 3fdbac912a
commit e42c11905e

View File

@@ -42,10 +42,10 @@ static struct ast_config *config_odbc (char *file, struct ast_config *new_config
char connection[128]; char connection[128];
int configured = 0, res = 0; int configured = 0, res = 0;
odbc_obj *obj; 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; SQLBIGINT id;
char sql[255], filename[128], category[128], var_name[128], var_val[128]; char sql[255], filename[128], category[128], var_name[128], var_val[128];
SQLSMALLINT rowcount; SQLSMALLINT rowcount=0;
SQLHSTMT stmt; SQLHSTMT stmt;
char last[80]; char last[80];
int cat_started = 0; int cat_started = 0;