1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

- Suppress some ubuntu compiler warnings

modified:
  storage/connect/connect.cc
  storage/connect/ha_connect.cc
  storage/connect/mycat.cc
  storage/connect/odbconn.cpp
  storage/connect/osutil.c
  storage/connect/tabutil.cpp
This commit is contained in:
Olivier Bertrand
2013-07-08 19:03:15 +02:00
parent 7adf46f662
commit b3ad9a97e9
6 changed files with 16 additions and 14 deletions

View File

@@ -242,7 +242,7 @@ PQRYRES ODBCColumns(PGLOBAL g, char *dsn, char *table,
int maxres;
PQRYRES qrp;
CATPARM *cap;
ODBConn *ocp;
ODBConn *ocp = NULL;
/************************************************************************/
/* Do an evaluation of the result size. */
@@ -497,7 +497,7 @@ PQRYRES ODBCTables(PGLOBAL g, char *dsn, char *tabpat, bool info)
int maxres;
PQRYRES qrp;
CATPARM *cap;
ODBConn *ocp;
ODBConn *ocp = NULL;
/************************************************************************/
/* Do an evaluation of the result size. */
@@ -1654,7 +1654,7 @@ int ODBConn::GetCatInfo(CATPARM *cap)
PCOLRES crp;
RETCODE rc;
HSTMT hstmt = NULL;
SQLLEN *vl, *vlen;
SQLLEN *vl, *vlen = NULL;
PVAL *pval = NULL;
try {