mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 20:20:07 +00:00
Fix compiler warnings
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53140 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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_DECLARE_APP_ARGS(args,
|
||||||
AST_APP_ARG(field)[100];
|
AST_APP_ARG(field)[100];
|
||||||
);
|
);
|
||||||
SQLHSTMT stmt;
|
SQLHSTMT stmt = NULL;
|
||||||
SQLLEN rows=0;
|
SQLLEN rows=0;
|
||||||
|
|
||||||
AST_LIST_LOCK(&queries);
|
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_DECLARE_APP_ARGS(args,
|
||||||
AST_APP_ARG(field)[100];
|
AST_APP_ARG(field)[100];
|
||||||
);
|
);
|
||||||
SQLHSTMT stmt;
|
SQLHSTMT stmt = NULL;
|
||||||
SQLSMALLINT colcount=0;
|
SQLSMALLINT colcount=0;
|
||||||
SQLLEN indicator;
|
SQLLEN indicator;
|
||||||
SQLSMALLINT collength;
|
SQLSMALLINT collength;
|
||||||
|
Reference in New Issue
Block a user