summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1995-08-31 13:57:40 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1995-08-31 13:57:40 (GMT)
commit847e89ecfacf3a21a56d6ed95fad359bc11ac042 (patch)
treec49b2ea5648bc9b1da414187cc68fd3c19be5966 /Mac
parent57633c1a482a8a480880325b320a4dae13acc967 (diff)
downloadcpython-847e89ecfacf3a21a56d6ed95fad359bc11ac042.zip
cpython-847e89ecfacf3a21a56d6ed95fad359bc11ac042.tar.gz
cpython-847e89ecfacf3a21a56d6ed95fad359bc11ac042.tar.bz2
Removed unused variables
Diffstat (limited to 'Mac')
-rw-r--r--Mac/Python/macglue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mac/Python/macglue.c b/Mac/Python/macglue.c
index b01cd40..6006474 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;