summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1996-08-01 15:27:18 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1996-08-01 15:27:18 (GMT)
commita6d78c44a7822f194d23de9c2f9b72618a827f4c (patch)
tree835aa0a4a0594f5b8a7f644363af071655c3bc66 /Mac
parent5674e4ec17e1945cf11f88963ba3e9190c6ef67d (diff)
downloadcpython-a6d78c44a7822f194d23de9c2f9b72618a827f4c.zip
cpython-a6d78c44a7822f194d23de9c2f9b72618a827f4c.tar.gz
cpython-a6d78c44a7822f194d23de9c2f9b72618a827f4c.tar.bz2
Removed unused var
Diffstat (limited to 'Mac')
-rw-r--r--Mac/Modules/res/Resmodule.c4
-rw-r--r--Mac/Modules/res/ressupport.py1
2 files changed, 0 insertions, 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 <Resources.h>
@@ -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;