From f60b520f46e871fcc300edb64e2e297097d1ffd9 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Sun, 23 Jun 2013 09:04:24 +0100 Subject: [PATCH] Fix a few minor warnings. --- util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util.c b/util.c index 96a4052..f56c7fd 100644 --- a/util.c +++ b/util.c @@ -163,7 +163,7 @@ void *newtype(PyTypeObject *metaty, ty->ht_name = PyString_FromString(ty->ht_type.tp_name); if (ty->ht_name) ty->ht_type.tp_name = PyString_AS_STRING(ty->ht_name); - PyObject_INIT(&ty->ht_type, metaty); + DISCARD(PyObject_INIT(&ty->ht_type, metaty)); Py_INCREF(metaty); return (ty); } -- 2.11.0