diff options
| author | Hiroshi Inoue | 2017-07-04 21:04:41 +0000 |
|---|---|---|
| committer | Hiroshi Inoue | 2017-07-04 21:04:41 +0000 |
| commit | c8a708e282cfcb5a098b97c1f824af7005f8446e (patch) | |
| tree | 745af2217a288111dbe0f8cfc5192f8f405fcd0e /statement.c | |
| parent | 40f2ca2f664b85341f78201f66bad75f7b7e7f5d (diff) | |
Fix some compiler warnings.
Diffstat (limited to 'statement.c')
| -rw-r--r-- | statement.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/statement.c b/statement.c index af68ecb..acbe40f 100644 --- a/statement.c +++ b/statement.c @@ -684,7 +684,6 @@ SC_set_prepared(StatementClass *stmt, int prepared) RETCODE SC_initialize_stmts(StatementClass *self, BOOL initializeOriginal) { - ConnectionClass *conn = SC_get_conn(self); ProcessedStmt *pstmt; ProcessedStmt *next_pstmt; @@ -2425,7 +2424,6 @@ libpq_bind_and_exec(StatementClass *stmt) QResultClass *res = NULL; char *cmdtag; char *rowcount; - BOOL ret = FALSE; if (!RequestStart(stmt, conn, func)) return NULL; @@ -2584,8 +2582,6 @@ inolog("get_Result=%p %p %d\n", res, SC_get_Result(stmt), stmt->curr_param_resul if (res != newres && NULL != newres) QR_Destructor(newres); - ret = TRUE; - cleanup: if (pgres) PQclear(pgres); |
