From b824cdafecff216fa052f26eb099a54eeffd6b13 Mon Sep 17 00:00:00 2001 From: dgp Date: Thu, 26 Jun 2025 13:19:43 +0000 Subject: [27fa01a7db] Restore default option to [namespace which] implementation. --- generic/tclNamesp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generic/tclNamesp.c b/generic/tclNamesp.c index 3670d7f..fb4ec83 100644 --- a/generic/tclNamesp.c +++ b/generic/tclNamesp.c @@ -4745,7 +4745,7 @@ NamespaceWhichCmd( static const char *const opts[] = { "-command", "-variable", NULL }; - enum { OPT_COMMAND, OPT_VARIABLE } lookupType; + enum { OPT_COMMAND, OPT_VARIABLE } lookupType = OPT_COMMAND; Tcl_Obj *resultPtr; if (objc < 2 || objc > 3) { -- cgit v0.12