diff options
author | anthm <anthm@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-07-13 22:53:17 +0000 |
---|---|---|
committer | anthm <anthm@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-07-13 22:53:17 +0000 |
commit | d65a066d2174ef8a336e72fe40fe99f2716f3fc4 (patch) | |
tree | a2ff545972cc4eb067a3c7cf4a796034514c5471 /res | |
parent | 8d1508ee2eb650b8200b07ff8e3ea2fac8f9f947 (diff) |
fix compiler warning in res_config_odbc.c
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3424 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res')
-rwxr-xr-x | res/res_config_odbc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/res/res_config_odbc.c b/res/res_config_odbc.c index 17f9bd258..68779eec6 100755 --- a/res/res_config_odbc.c +++ b/res/res_config_odbc.c @@ -42,10 +42,10 @@ static struct ast_config *config_odbc (char *file, struct ast_config *new_config 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; |