diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-02-03 22:04:09 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-02-03 22:04:09 +0000 |
commit | 11af697398721c9ff7d26d133ed4a42622a8dc2e (patch) | |
tree | 80527d07f3f0e33cd321e6170d8f4053f5c92753 | |
parent | 21f8e9302b21b198f4b911b67fc4862ccf8650f5 (diff) |
Fix compiler warnings
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@53140 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | funcs/func_odbc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/funcs/func_odbc.c b/funcs/func_odbc.c index 9ff6b2655..03876779c 100644 --- a/funcs/func_odbc.c +++ b/funcs/func_odbc.c @@ -107,7 +107,7 @@ static int acf_odbc_write(struct ast_channel *chan, const char *cmd, char *s, co AST_DECLARE_APP_ARGS(args, AST_APP_ARG(field)[100]; ); - SQLHSTMT stmt; + SQLHSTMT stmt = NULL; SQLLEN rows=0; AST_LIST_LOCK(&queries); @@ -204,7 +204,7 @@ static int acf_odbc_read(struct ast_channel *chan, const char *cmd, char *s, cha AST_DECLARE_APP_ARGS(args, AST_APP_ARG(field)[100]; ); - SQLHSTMT stmt; + SQLHSTMT stmt = NULL; SQLSMALLINT colcount=0; SQLLEN indicator; SQLSMALLINT collength; |