projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
014feba
)
Fix compiler warnings
author
Tilghman Lesher
<tilghman@meg.abyt.es>
Sat, 3 Feb 2007 22:04:09 +0000
(22:04 +0000)
committer
Tilghman Lesher
<tilghman@meg.abyt.es>
Sat, 3 Feb 2007 22:04:09 +0000
(22:04 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53140
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
funcs/func_odbc.c
patch
|
blob
|
history
diff --git
a/funcs/func_odbc.c
b/funcs/func_odbc.c
index
9ff6b26
..
0387677
100644
(file)
--- 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;