From c74e85a23a86dde77062cbcd51b050723ef98f9f Mon Sep 17 00:00:00 2001 From: Terry Wilson Date: Thu, 23 Oct 2008 21:27:35 +0000 Subject: [PATCH] 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 --- funcs/func_odbc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/funcs/func_odbc.c b/funcs/func_odbc.c index 334438563d..b25e993053 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;