Kaydet (Commit) 847e89ec authored tarafından Jack Jansen's avatar Jack Jansen

Removed unused variables

üst 57633c1a
...@@ -308,7 +308,6 @@ void ...@@ -308,7 +308,6 @@ void
PyMac_HandleEvent(evp) PyMac_HandleEvent(evp)
EventRecord *evp; EventRecord *evp;
{ {
WindowPtr wp;
#ifdef __MWERKS__ #ifdef __MWERKS__
/* If SIOUX wants it we're done */ /* If SIOUX wants it we're done */
...@@ -316,6 +315,8 @@ PyMac_HandleEvent(evp) ...@@ -316,6 +315,8 @@ PyMac_HandleEvent(evp)
#else #else
/* Other compilers are just unlucky: we only weed out clicks in other applications */ /* Other compilers are just unlucky: we only weed out clicks in other applications */
if ( evp->what == mouseDown ) { if ( evp->what == mouseDown ) {
WindowPtr wp;
if ( FindWindow(evp->where, &wp) == inSysWindow ) if ( FindWindow(evp->where, &wp) == inSysWindow )
SystemClick(evp, wp); SystemClick(evp, wp);
} }
...@@ -436,7 +437,6 @@ char *filename; ...@@ -436,7 +437,6 @@ char *filename;
FSSpec fss; FSSpec fss;
FInfo finfo; FInfo finfo;
short oldrh, filerh; short oldrh, filerh;
int ok;
Handle h; Handle h;
OSErr err; OSErr err;
PyObject *m, *co; PyObject *m, *co;
......
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