summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>2015-06-02 13:11:46 +0100
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>2015-06-02 13:11:46 +0100
commit0a7261268bcfd225cbd66a3b93a730d69a32f047 (patch)
treeff0d1320f2911eb5a140260d0e36be1f89e9f9be
parent5712f3016970948d17df8b790a2146d1c166c032 (diff)
downloadpsycopg2-0a7261268bcfd225cbd66a3b93a730d69a32f047.tar.gz
Dropped unused notice_filter connection member
-rw-r--r--psycopg/connection.h1
-rw-r--r--psycopg/connection_type.c2
2 files changed, 0 insertions, 3 deletions
diff --git a/psycopg/connection.h b/psycopg/connection.h
index 07dfe2e..c52abc9 100644
--- a/psycopg/connection.h
+++ b/psycopg/connection.h
@@ -106,7 +106,6 @@ struct connectionObject {
/* notice processing */
PyObject *notice_list;
- PyObject *notice_filter;
struct connectionObject_notice *notice_pending;
/* notifies */
diff --git a/psycopg/connection_type.c b/psycopg/connection_type.c
index 43abe8a..9931399 100644
--- a/psycopg/connection_type.c
+++ b/psycopg/connection_type.c
@@ -1105,7 +1105,6 @@ connection_clear(connectionObject *self)
Py_CLEAR(self->tpc_xid);
Py_CLEAR(self->async_cursor);
Py_CLEAR(self->notice_list);
- Py_CLEAR(self->notice_filter);
Py_CLEAR(self->notifies);
Py_CLEAR(self->string_types);
Py_CLEAR(self->binary_types);
@@ -1181,7 +1180,6 @@ connection_traverse(connectionObject *self, visitproc visit, void *arg)
Py_VISIT((PyObject *)(self->tpc_xid));
Py_VISIT(self->async_cursor);
Py_VISIT(self->notice_list);
- Py_VISIT(self->notice_filter);
Py_VISIT(self->notifies);
Py_VISIT(self->string_types);
Py_VISIT(self->binary_types);