[svn-commits] tilghman: trunk r53140 - /trunk/funcs/func_odbc.c
svn-commits at lists.digium.com
svn-commits at lists.digium.com
Sat Feb 3 15:04:10 MST 2007
Author: tilghman
Date: Sat Feb 3 16:04:09 2007
New Revision: 53140
URL: http://svn.digium.com/view/asterisk?view=rev&rev=53140
Log:
Fix compiler warnings
Modified:
trunk/funcs/func_odbc.c
Modified: trunk/funcs/func_odbc.c
URL: http://svn.digium.com/view/asterisk/trunk/funcs/func_odbc.c?view=diff&rev=53140&r1=53139&r2=53140
==============================================================================
--- trunk/funcs/func_odbc.c (original)
+++ trunk/funcs/func_odbc.c Sat Feb 3 16:04:09 2007
@@ -107,7 +107,7 @@
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 @@
AST_DECLARE_APP_ARGS(args,
AST_APP_ARG(field)[100];
);
- SQLHSTMT stmt;
+ SQLHSTMT stmt = NULL;
SQLSMALLINT colcount=0;
SQLLEN indicator;
SQLSMALLINT collength;
More information about the svn-commits
mailing list