From 3c9987f4604595d30d2dbc289ca76a05e7f7b56e Mon Sep 17 00:00:00 2001 From: "Darryl L. Miles" Date: Fri, 3 Oct 2025 23:23:05 +0100 Subject: [PATCH] CmdFI.c: CmdGoto() correct printf output non-tktcl build check --- commands/CmdFI.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/CmdFI.c b/commands/CmdFI.c index 21b79c51..b48a54ba 100644 --- a/commands/CmdFI.c +++ b/commands/CmdFI.c @@ -1783,7 +1783,7 @@ CmdGoto( MagWindow *w, TxCommand *cmd) { - char *s, *nodename = cmd->tx_argv[1]; + char *nodename = cmd->tx_argv[1]; Rect rect; CellUse *use; int locargc; @@ -1826,7 +1826,7 @@ CmdGoto( #ifdef MAGIC_WRAPPER Tcl_SetResult(magicinterp, (char*)DBTypeLongName(ttype), NULL); /* Tcl treats as const */ #else - TxPrintf("node %s is type %s\n", s, DBTypeLongName(ttype)); + TxPrintf("node %s is type %s\n", nodename, DBTypeLongName(ttype)); #endif }