Remove dead typeStruct variable from plpy_spi.c.
authorKevin Grittner <kgrittn@postgresql.org>
Sat, 5 Jul 2014 15:59:08 +0000 (10:59 -0500)
committerKevin Grittner <kgrittn@postgresql.org>
Sat, 5 Jul 2014 15:59:08 +0000 (10:59 -0500)
Left behind by 8b6010b8350a1756cd85595705971df81b5ffc07.

src/pl/plpython/plpy_spi.c

index 6c3eefff68b5731d1118aeb5a0d424111c5085a9..465b316f967407e7686f544ca787e4cc7cf97482 100644 (file)
@@ -93,7 +93,6 @@ PLy_spi_prepare(PyObject *self, PyObject *args)
            HeapTuple   typeTup;
            Oid         typeId;
            int32       typmod;
-           Form_pg_type typeStruct;
 
            optr = PySequence_GetItem(list, i);
            if (PyString_Check(optr))
@@ -129,7 +128,6 @@ PLy_spi_prepare(PyObject *self, PyObject *args)
            optr = NULL;
 
            plan->types[i] = typeId;
-           typeStruct = (Form_pg_type) GETSTRUCT(typeTup);
            PLy_output_datum_func(&plan->args[i], typeTup);
            ReleaseSysCache(typeTup);
        }