]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Removed unused variables
authorJack Jansen <jack.jansen@cwi.nl>
Thu, 31 Aug 1995 13:57:40 +0000 (13:57 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Thu, 31 Aug 1995 13:57:40 +0000 (13:57 +0000)
Mac/Python/macglue.c

index b01cd4085c5c8edafbe944ade348a72e1ffd4e69..6006474734341ab051edc3c184fe198de0a610a8 100644 (file)
@@ -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;