Commit 4d4cc96f authored by Jack Jansen's avatar Jack Jansen

Removed unused var

parent 281ff953
...@@ -40,9 +40,6 @@ extern int GrafObj_Convert(PyObject *, GrafPtr *); ...@@ -40,9 +40,6 @@ extern int GrafObj_Convert(PyObject *, GrafPtr *);
extern PyObject *BMObj_New(BitMapPtr); extern PyObject *BMObj_New(BitMapPtr);
extern int BMObj_Convert(PyObject *, BitMapPtr *); extern int BMObj_Convert(PyObject *, BitMapPtr *);
extern PyObject *PMObj_New(PixMapHandle);
extern int PMObj_Convert(PyObject *, PixMapHandle *);
extern PyObject *WinObj_WhichWindow(WindowPtr); extern PyObject *WinObj_WhichWindow(WindowPtr);
#include <Resources.h> #include <Resources.h>
...@@ -1348,7 +1345,6 @@ static PyMethodDef Res_methods[] = { ...@@ -1348,7 +1345,6 @@ static PyMethodDef Res_methods[] = {
PyObject *OptResObj_New(itself) PyObject *OptResObj_New(itself)
Handle itself; Handle itself;
{ {
ResourceObject *it;
if (itself == NULL) { if (itself == NULL) {
Py_INCREF(Py_None); Py_INCREF(Py_None);
return Py_None; return Py_None;
......
...@@ -35,7 +35,6 @@ finalstuff = finalstuff + """ ...@@ -35,7 +35,6 @@ finalstuff = finalstuff + """
PyObject *OptResObj_New(itself) PyObject *OptResObj_New(itself)
Handle itself; Handle itself;
{ {
ResourceObject *it;
if (itself == NULL) { if (itself == NULL) {
Py_INCREF(Py_None); Py_INCREF(Py_None);
return Py_None; return Py_None;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment