diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-08-30 15:21:28 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-08-30 15:21:28 (GMT) |
commit | 876a5d67826981d371dae6608868539e99b3c916 (patch) | |
tree | 568a0e6626389aa86db85e39b04b81f686a111ac /generic/tclIO.c | |
parent | 4187ab8e37b22866a8b3a8727b9d661bca6378c8 (diff) | |
parent | 289e2891a65d4dd58af34a60ffc2228dbb0b27fe (diff) | |
download | tcl-876a5d67826981d371dae6608868539e99b3c916.zip tcl-876a5d67826981d371dae6608868539e99b3c916.tar.gz tcl-876a5d67826981d371dae6608868539e99b3c916.tar.bz2 |
Let's try a real C++ build with Travis on Linux
Diffstat (limited to 'generic/tclIO.c')
-rw-r--r-- | generic/tclIO.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/generic/tclIO.c b/generic/tclIO.c index 76dd96d..a586983 100644 --- a/generic/tclIO.c +++ b/generic/tclIO.c @@ -1526,6 +1526,7 @@ TclGetChannelFromObj( ChannelState *statePtr; ResolvedChanName *resPtr = NULL; Tcl_Channel chan; + (void)flags; if (interp == NULL) { return TCL_ERROR; @@ -5201,6 +5202,7 @@ FreeBinaryEncoding( ClientData dummy) /* Not used */ { ThreadSpecificData *tsdPtr = TCL_TSD_INIT(&dataKey); + (void)dummy; if (tsdPtr->binaryEncoding != NULL) { Tcl_FreeEncoding(tsdPtr->binaryEncoding); @@ -8955,7 +8957,7 @@ TclChannelEventScriptInvoker( /* ARGSUSED */ int Tcl_FileEventObjCmd( - ClientData clientData, /* Not used. */ + ClientData dummy, /* Not used. */ Tcl_Interp *interp, /* Interpreter in which the channel for which * to create the handler is found. */ int objc, /* Number of arguments. */ @@ -8969,6 +8971,7 @@ Tcl_FileEventObjCmd( int mask; static const char *const modeOptions[] = {"readable", "writable", NULL}; static const int maskArray[] = {TCL_READABLE, TCL_WRITABLE}; + (void)dummy; if ((objc != 3) && (objc != 4)) { Tcl_WrongNumArgs(interp, 1, objv, "channelId event ?script?"); |