summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXTest.c
diff options
context:
space:
mode:
authorculler <culler>2020-05-16 17:56:24 (GMT)
committerculler <culler>2020-05-16 17:56:24 (GMT)
commit5b8151f29ca6b12d3421c026eae1a994e702f7b5 (patch)
treee838e2463d61a0ae09e2bd13df04b1b54cf575e5 /macosx/tkMacOSXTest.c
parentdc8dcbced6e03edb40b76e2108e6a4ecf6ff37fd (diff)
downloadtk-5b8151f29ca6b12d3421c026eae1a994e702f7b5.zip
tk-5b8151f29ca6b12d3421c026eae1a994e702f7b5.tar.gz
tk-5b8151f29ca6b12d3421c026eae1a994e702f7b5.tar.bz2
Fix compiler errors and warnings on macOS 10.6 (Snow Leopard)
Diffstat (limited to 'macosx/tkMacOSXTest.c')
-rw-r--r--macosx/tkMacOSXTest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/tkMacOSXTest.c b/macosx/tkMacOSXTest.c
index 902bf9e..0a739a1 100644
--- a/macosx/tkMacOSXTest.c
+++ b/macosx/tkMacOSXTest.c
@@ -153,7 +153,7 @@ PressButtonObjCmd(
int objc,
Tcl_Obj *const objv[])
{
- int x, y, i, value, wNum;
+ int x = 0, y = 0, i, value, wNum;
CGPoint pt;
NSPoint loc;
NSEvent *motion, *press, *release;