diff options
author | Terry Wilson <twilson@digium.com> | 2008-10-23 21:27:35 +0000 |
---|---|---|
committer | Terry Wilson <twilson@digium.com> | 2008-10-23 21:27:35 +0000 |
commit | c74e85a23a86dde77062cbcd51b050723ef98f9f (patch) | |
tree | 3d5ed96ad47dea378a1a695d21f22cdbc381402f /funcs | |
parent | cee9678d82a9b9ac1f377d08f63ab0d7d8a735de (diff) |
allow to compile under --enable-dev-mode (gcc didn't actually complain when I was using ccache...)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@151830 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'funcs')
-rw-r--r-- | funcs/func_odbc.c | 2 |
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; |