diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-10-20 22:36:13 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-10-20 22:36:13 (GMT) |
commit | 06bdf94419612cb578502cf30fa89ef013ecebc2 (patch) | |
tree | 0fe759071dd81965fb2f5534d920aa33cfc31390 /macosx | |
parent | 0757ec2df6ba5375e6c6eb57612ffe4dbba9335f (diff) | |
download | tk-06bdf94419612cb578502cf30fa89ef013ecebc2.zip tk-06bdf94419612cb578502cf30fa89ef013ecebc2.tar.gz tk-06bdf94419612cb578502cf30fa89ef013ecebc2.tar.bz2 |
One TCL_UNUSED and some eol-spacing
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/README | 2 | ||||
-rw-r--r-- | macosx/tkMacOSXInit.c | 5 | ||||
-rw-r--r-- | macosx/tkMacOSXWindowEvent.c | 2 |
3 files changed, 4 insertions, 5 deletions
diff --git a/macosx/README b/macosx/README index 0cc7715..83a3c63 100644 --- a/macosx/README +++ b/macosx/README @@ -463,7 +463,7 @@ directory where the frameworks will be written. Since the install_name is writte at compile time, this build requires starting with an empty build directory. Also, the build will leave frameworks in the build directory that cannot be installed in the standard /Library/Frameworks directory. To avoid surprises, -delete the build directory after the frameworks are built. +delete the build directory after the frameworks are built. For example, running the commands: rm -rf build cd Tcl_src diff --git a/macosx/tkMacOSXInit.c b/macosx/tkMacOSXInit.c index 9479a00..06ff367 100644 --- a/macosx/tkMacOSXInit.c +++ b/macosx/tkMacOSXInit.c @@ -321,7 +321,7 @@ TCL_NORETURN void TkpExitProc( /* * Tcl_Exit does not call Tcl_Finalize if there is an exit proc installed. */ - + Tcl_Finalize(); if (doCleanup == YES) { [(TKApplication *)NSApp superTerminate:nil]; /* Should not return. */ @@ -340,8 +340,7 @@ TCL_NORETURN void TkpExitProc( * return exit status 1. */ -static void TkMacOSXSignalHandler(int signal) { - (void)signal; +static void TkMacOSXSignalHandler(TCL_UNUSED(int)) { Tcl_Exit(1); } diff --git a/macosx/tkMacOSXWindowEvent.c b/macosx/tkMacOSXWindowEvent.c index ca7f526..0075fb8 100644 --- a/macosx/tkMacOSXWindowEvent.c +++ b/macosx/tkMacOSXWindowEvent.c @@ -1021,7 +1021,7 @@ ConfigureRestrictProc( if([NSApp isDrawing] || [self inLiveResize]) { [self generateExposeEvents: [self bounds]]; } - + /* * Finally, unlock the main autoreleasePool. */ |