mirror of https://github.com/python/cpython
Removed unused var
This commit is contained in:
parent
5674e4ec17
commit
a6d78c44a7
|
@ -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;
|
||||
|
|
|
@ -35,7 +35,6 @@ finalstuff = finalstuff + """
|
|||
PyObject *OptResObj_New(itself)
|
||||
Handle itself;
|
||||
{
|
||||
ResourceObject *it;
|
||||
if (itself == NULL) {
|
||||
Py_INCREF(Py_None);
|
||||
return Py_None;
|
||||
|
|
Loading…
Reference in New Issue