Dropped unused pq_resolve_critical() return value

This commit is contained in:
Daniele Varrazzo 2012-02-24 04:00:12 +00:00
parent 3b36100ec1
commit fc78fb09c0

View File

@ -249,7 +249,7 @@ pq_clear_critical(connectionObject *conn)
} }
} }
static PyObject * static void
pq_resolve_critical(connectionObject *conn, int close) pq_resolve_critical(connectionObject *conn, int close)
{ {
Dprintf("pq_resolve_critical: resolving %s", conn->critical); Dprintf("pq_resolve_critical: resolving %s", conn->critical);
@ -264,11 +264,10 @@ pq_resolve_critical(connectionObject *conn, int close)
/* we don't want to destroy this connection but just close it */ /* we don't want to destroy this connection but just close it */
if (close == 1) conn_close(conn); if (close == 1) conn_close(conn);
/* remember to clear the critical! */ /* remember to clear the critical! */
pq_clear_critical(conn); pq_clear_critical(conn);
} }
return NULL;
} }
/* pq_clear_async - clear the effects of a previous async query /* pq_clear_async - clear the effects of a previous async query