From a6d78c44a7822f194d23de9c2f9b72618a827f4c Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Thu, 1 Aug 1996 15:27:18 +0000 Subject: Removed unused var --- Mac/Modules/res/Resmodule.c | 4 ---- Mac/Modules/res/ressupport.py | 1 - 2 files changed, 5 deletions(-) diff --git a/Mac/Modules/res/Resmodule.c b/Mac/Modules/res/Resmodule.c index 4ee935c..dd5d75a 100644 --- a/Mac/Modules/res/Resmodule.c +++ b/Mac/Modules/res/Resmodule.c @@ -40,9 +40,6 @@ extern int GrafObj_Convert(PyObject *, GrafPtr *); extern PyObject *BMObj_New(BitMapPtr); extern int BMObj_Convert(PyObject *, BitMapPtr *); -extern PyObject *PMObj_New(PixMapHandle); -extern int PMObj_Convert(PyObject *, PixMapHandle *); - extern PyObject *WinObj_WhichWindow(WindowPtr); #include @@ -1348,7 +1345,6 @@ static PyMethodDef Res_methods[] = { PyObject *OptResObj_New(itself) Handle itself; { - ResourceObject *it; if (itself == NULL) { Py_INCREF(Py_None); return Py_None; diff --git a/Mac/Modules/res/ressupport.py b/Mac/Modules/res/ressupport.py index 8eb6bf4..8c899f0 100644 --- a/Mac/Modules/res/ressupport.py +++ b/Mac/Modules/res/ressupport.py @@ -35,7 +35,6 @@ finalstuff = finalstuff + """ PyObject *OptResObj_New(itself) Handle itself; { - ResourceObject *it; if (itself == NULL) { Py_INCREF(Py_None); return Py_None; -- cgit v0.12