diff options
| author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-08-23 13:00:47 (GMT) |
|---|---|---|
| committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-08-23 13:00:47 (GMT) |
| commit | a5048e8dd92669687e9e6a3e5e040477366a5b69 (patch) | |
| tree | 14fc254a3b62a1b608d07608c6b3aab3fe073d5a /unix/tclUnixThrd.c | |
| parent | 94b338844e5af1659858a5446714c65fcbaecf54 (diff) | |
| parent | a5448b6c8bdb4aeac833b411b94637047889cbd8 (diff) | |
| download | tcl-a5048e8dd92669687e9e6a3e5e040477366a5b69.zip tcl-a5048e8dd92669687e9e6a3e5e040477366a5b69.tar.gz tcl-a5048e8dd92669687e9e6a3e5e040477366a5b69.tar.bz2 | |
Make everything compile warning-free when TCL_THREADS=0
Diffstat (limited to 'unix/tclUnixThrd.c')
| -rw-r--r-- | unix/tclUnixThrd.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/unix/tclUnixThrd.c b/unix/tclUnixThrd.c index 8a16d0b..aa5926e 100644 --- a/unix/tclUnixThrd.c +++ b/unix/tclUnixThrd.c @@ -277,6 +277,11 @@ TclpThreadCreate( pthread_attr_destroy(&attr); return result; #else + (void)idPtr; + (void)proc; + (void)clientData; + (void)stackSize; + (void)flags; return TCL_ERROR; #endif /* TCL_THREADS */ } @@ -314,6 +319,9 @@ Tcl_JoinThread( } return (result == 0) ? TCL_OK : TCL_ERROR; #else + (void)threadId; + (void)state; + return TCL_ERROR; #endif } |
