summaryrefslogtreecommitdiffstats
path: root/generic/tclCompCmdsGR.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-09-28 10:13:51 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-09-28 10:13:51 (GMT)
commitf6bf85fb67eb15e637ecf7c7de4f661dc0557b43 (patch)
tree60462ca1b3918744f06fa3526fb19a09b1b6507b /generic/tclCompCmdsGR.c
parent866a79313bc49a69a821448e49bc9a67c97393bb (diff)
downloadtcl-f6bf85fb67eb15e637ecf7c7de4f661dc0557b43.zip
tcl-f6bf85fb67eb15e637ecf7c7de4f661dc0557b43.tar.gz
tcl-f6bf85fb67eb15e637ecf7c7de4f661dc0557b43.tar.bz2
Make Tcl compile warning-free using -Wshadow
Diffstat (limited to 'generic/tclCompCmdsGR.c')
-rw-r--r--generic/tclCompCmdsGR.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclCompCmdsGR.c b/generic/tclCompCmdsGR.c
index 16fafad..990be2a 100644
--- a/generic/tclCompCmdsGR.c
+++ b/generic/tclCompCmdsGR.c
@@ -881,7 +881,7 @@ TclCompileLappendCmd(
*/
if (numWords > 2) {
- Tcl_Token *valueTokenPtr = TokenAfter(varTokenPtr);
+ valueTokenPtr = TokenAfter(varTokenPtr);
CompileWord(envPtr, valueTokenPtr, interp, 2);
}