X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cd5bf2a6e3a7d03e8b1f97e989eecdcc63f7151f..e777924b358ae352f30881249f681ebb7a3ce089:/src/iodbc/hdbc.c diff --git a/src/iodbc/hdbc.c b/src/iodbc/hdbc.c index 67eb5e6865..afb6472d19 100644 --- a/src/iodbc/hdbc.c +++ b/src/iodbc/hdbc.c @@ -24,20 +24,20 @@ * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -#include <config.h> +#include "config.h" -#include <isql.h> -#include <isqlext.h> +#include "isql.h" +#include "isqlext.h" -#include <dlproc.h> +#include "dlproc.h" -#include <herr.h> -#include <henv.h> -#include <hdbc.h> -#include <hstmt.h> +#include "herr.h" +#include "henv.h" +#include "hdbc.h" +#include "hstmt.h" -#include <itrace.h> -#include <stdio.h> +#include "itrace.h" +#include "stdio.h" extern RETCODE _iodbcdm_driverunload(); @@ -176,7 +176,6 @@ SQLSetConnectOption ( UWORD fOption, UDWORD vParam) { - GENV_t FAR *genv; DBC_t FAR *pdbc = (DBC_t FAR *) hdbc; STMT_t FAR *pstmt; HPROC hproc = SQL_NULL_HPROC; @@ -511,7 +510,6 @@ SQLGetConnectOption ( UWORD fOption, PTR pvParam) { - GENV_t FAR *genv; DBC_t FAR *pdbc = (DBC_t FAR *) hdbc; int sqlstat = en_00000; HPROC hproc = SQL_NULL_HPROC; @@ -764,7 +762,7 @@ SQLTransact ( GENV_t FAR *genv = (GENV_t FAR *) henv; DBC_t FAR *pdbc = (DBC_t FAR *) hdbc; HERR herr; - RETCODE retcode; + RETCODE retcode = 0; if (hdbc != SQL_NULL_HDBC) {