summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-09-03 20:32:33 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-09-03 20:32:33 (GMT)
commitb780a5549f877783734378c47d4784443f38286a (patch)
tree8388b53b8610267c8b8a1755286e96878c170cd3 /macosx
parent8f8880c902c043596ceb27e1845e1e666079e823 (diff)
downloadtcl-b780a5549f877783734378c47d4784443f38286a.zip
tcl-b780a5549f877783734378c47d4784443f38286a.tar.gz
tcl-b780a5549f877783734378c47d4784443f38286a.tar.bz2
Mark more unused parameters
Diffstat (limited to 'macosx')
-rw-r--r--macosx/tclMacOSXBundle.c3
-rw-r--r--macosx/tclMacOSXNotify.c6
2 files changed, 7 insertions, 2 deletions
diff --git a/macosx/tclMacOSXBundle.c b/macosx/tclMacOSXBundle.c
index 915f290..81d8d04 100644
--- a/macosx/tclMacOSXBundle.c
+++ b/macosx/tclMacOSXBundle.c
@@ -197,7 +197,7 @@ Tcl_MacOSXOpenBundleResources(
int
Tcl_MacOSXOpenVersionedBundleResources(
- Tcl_Interp *interp,
+ Tcl_Interp *dummy,
const char *bundleName,
const char *bundleVersion,
int hasResourceFile,
@@ -208,6 +208,7 @@ Tcl_MacOSXOpenVersionedBundleResources(
CFBundleRef bundleRef, versionedBundleRef = NULL;
CFStringRef bundleNameRef;
CFURLRef libURL;
+ (void)dummy;
libraryPath[0] = '\0';
diff --git a/macosx/tclMacOSXNotify.c b/macosx/tclMacOSXNotify.c
index 945ea4b..1523400 100644
--- a/macosx/tclMacOSXNotify.c
+++ b/macosx/tclMacOSXNotify.c
@@ -945,6 +945,8 @@ TimerWakeUp(
CFRunLoopTimerRef timer,
void *info)
{
+ (void)timer;
+ (void)info;
}
/*
@@ -1453,6 +1455,7 @@ UpdateWaitingListAndServiceEvents(
void *info)
{
ThreadSpecificData *tsdPtr = (ThreadSpecificData *)info;
+ (void)observer;
if (tsdPtr->sleeping) {
return;
@@ -1827,13 +1830,14 @@ TclUnixWaitForFile(
static TCL_NORETURN void
NotifierThreadProc(
- ClientData clientData) /* Not used. */
+ ClientData dummy) /* Not used. */
{
ThreadSpecificData *tsdPtr;
fd_set readableMask, writableMask, exceptionalMask;
int i, numFdBits = 0, polling;
struct timeval poll = {0., 0.}, *timePtr;
char buf[2];
+ (void)dummy;
/*
* Look for file events and report them to interested threads.