diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-05-30 12:22:20 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-05-30 12:22:20 (GMT) |
commit | 75bdb756898a30047bb33ecf3f322062fcd27180 (patch) | |
tree | 7278dd27c525ccc3b71c91da02fb7ddf84346c9f /generic/tclIOCmd.c | |
parent | af838a5d529d837dc588e5c57d07d94dd612afcc (diff) | |
parent | 13f6f72bb70d2f85f1ca638290bab6c606d9ae33 (diff) | |
download | tcl-75bdb756898a30047bb33ecf3f322062fcd27180.zip tcl-75bdb756898a30047bb33ecf3f322062fcd27180.tar.gz tcl-75bdb756898a30047bb33ecf3f322062fcd27180.tar.bz2 |
Merge 8.7
Diffstat (limited to 'generic/tclIOCmd.c')
-rw-r--r-- | generic/tclIOCmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclIOCmd.c b/generic/tclIOCmd.c index 93c50ec..37be141 100644 --- a/generic/tclIOCmd.c +++ b/generic/tclIOCmd.c @@ -1788,9 +1788,9 @@ ChanPendingObjCmd( Tcl_Obj *const objv[]) /* Argument objects. */ { Tcl_Channel chan; - int mode; static const char *const options[] = {"input", "output", NULL}; enum pendingOptionsEnum {PENDING_INPUT, PENDING_OUTPUT} index; + int mode; if (objc != 3) { Tcl_WrongNumArgs(interp, 1, objv, "mode channelId"); |