From: Jack Jansen Date: Thu, 31 Aug 1995 13:57:40 +0000 (+0000) Subject: Removed unused variables X-Git-Tag: v1.3~166 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=847e89ecfacf3a21a56d6ed95fad359bc11ac042;p=thirdparty%2FPython%2Fcpython.git Removed unused variables --- diff --git a/Mac/Python/macglue.c b/Mac/Python/macglue.c index b01cd4085c5c..600647473434 100644 --- a/Mac/Python/macglue.c +++ b/Mac/Python/macglue.c @@ -308,7 +308,6 @@ void PyMac_HandleEvent(evp) EventRecord *evp; { - WindowPtr wp; #ifdef __MWERKS__ /* If SIOUX wants it we're done */ @@ -316,6 +315,8 @@ PyMac_HandleEvent(evp) #else /* Other compilers are just unlucky: we only weed out clicks in other applications */ if ( evp->what == mouseDown ) { + WindowPtr wp; + if ( FindWindow(evp->where, &wp) == inSysWindow ) SystemClick(evp, wp); } @@ -436,7 +437,6 @@ char *filename; FSSpec fss; FInfo finfo; short oldrh, filerh; - int ok; Handle h; OSErr err; PyObject *m, *co;