aboutsummaryrefslogtreecommitdiffstats
path: root/funcs
diff options
context:
space:
mode:
authortwilson <twilson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-10-23 21:27:35 +0000
committertwilson <twilson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-10-23 21:27:35 +0000
commitca8d93281c0fb6d5ff87d3ce76eaa30ca7168ca3 (patch)
tree3d5ed96ad47dea378a1a695d21f22cdbc381402f /funcs
parent547b4abfb478cfcc7cfaac33f63bc7482e3c55de (diff)
allow to compile under --enable-dev-mode (gcc didn't actually complain when I was using ccache...)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@151830 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'funcs')
-rw-r--r--funcs/func_odbc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/funcs/func_odbc.c b/funcs/func_odbc.c
index 334438563..b25e99305 100644
--- a/funcs/func_odbc.c
+++ b/funcs/func_odbc.c
@@ -939,7 +939,7 @@ static char *cli_odbc_read(struct ast_cli_entry *e, int cmd, struct ast_cli_args
if (a->argc == 5 && !strcmp(a->argv[4], "exec")) {
/* Execute the query */
- struct odbc_obj *obj;
+ struct odbc_obj *obj = NULL;
int dsn, executed = 0;
SQLHSTMT stmt;
int rows = 0, res, x;