summaryrefslogtreecommitdiffstats
path: root/generic/tclIOCmd.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-05-30 12:22:20 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-05-30 12:22:20 (GMT)
commit75bdb756898a30047bb33ecf3f322062fcd27180 (patch)
tree7278dd27c525ccc3b71c91da02fb7ddf84346c9f /generic/tclIOCmd.c
parentaf838a5d529d837dc588e5c57d07d94dd612afcc (diff)
parent13f6f72bb70d2f85f1ca638290bab6c606d9ae33 (diff)
downloadtcl-75bdb756898a30047bb33ecf3f322062fcd27180.zip
tcl-75bdb756898a30047bb33ecf3f322062fcd27180.tar.gz
tcl-75bdb756898a30047bb33ecf3f322062fcd27180.tar.bz2
Merge 8.7
Diffstat (limited to 'generic/tclIOCmd.c')
-rw-r--r--generic/tclIOCmd.c2
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");