From 79ba3a95731963e970e3c1023fa7a9fddb39d513 Mon Sep 17 00:00:00 2001 From: Daniele Varrazzo Date: Fri, 28 Dec 2018 04:44:53 +0100 Subject: [PATCH] Ignore checking a function triggering a cpychecker bug See davidmalcolm/gcc-python-plugin#155 --- psycopg/connection_int.c | 1 + 1 file changed, 1 insertion(+) diff --git a/psycopg/connection_int.c b/psycopg/connection_int.c index 17509cfe..7875b13a 100644 --- a/psycopg/connection_int.c +++ b/psycopg/connection_int.c @@ -435,6 +435,7 @@ conn_set_fast_codec(connectionObject *self) * * Optionally return the clean version of the postgres encoding too */ +IGNORE_REFCOUNT /* bug davidmalcolm/gcc-python-plugin#155 */ PyObject * conn_pgenc_to_pyenc(const char *encoding, char **clean_encoding) {