postgres.git / summary / log / commit / refs

commit    e254ff21d1286fe5c2b5ecdfa9bb6b15a7830fcd
Author:   Kevin Grittner <kgrittn@postgresql.org>
Date:     Sat Jul 05 15:59:08 2014 +0000

    Remove dead typeStruct variable from plpy_spi.c.
    
    Left behind by 8b6010b8350a1756cd85595705971df81b5ffc07.


src/pl/plpython/plpy_spi.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/pl/plpython/plpy_spi.c b/src/pl/plpython/plpy_spi.c index 6c3eefff68b..465b316f967 100644 --- a/src/pl/plpython/plpy_spi.c +++ b/src/pl/plpython/plpy_spi.c @@ -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); } [parent: 4ccac92d08f2]