summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2016-01-22 10:38:36 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2016-01-22 10:38:36 (GMT)
commit37fed625022a173be5f37951385e9633fb86deb1 (patch)
tree2b3e4227355efbab6bc18c609a23315c53a86686
parent3aa54d6d7a548114a22128c5db532be5cc40ef09 (diff)
parentc3dccf719622f99411ccbccbc079379124879e8e (diff)
downloadtcl-37fed625022a173be5f37951385e9633fb86deb1.zip
tcl-37fed625022a173be5f37951385e9633fb86deb1.tar.gz
tcl-37fed625022a173be5f37951385e9633fb86deb1.tar.bz2
Eliminate useless variable assignment.
-rw-r--r--generic/tclInterp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/generic/tclInterp.c b/generic/tclInterp.c
index 0da5d47..5c94461 100644
--- a/generic/tclInterp.c
+++ b/generic/tclInterp.c
@@ -1882,7 +1882,6 @@ AliasObjCmd(
cmdv = TclStackAlloc(interp, cmdc * sizeof(Tcl_Obj *));
}
- prefv = &aliasPtr->objPtr;
memcpy(cmdv, prefv, (size_t) (prefc * sizeof(Tcl_Obj *)));
memcpy(cmdv+prefc, objv+1, (size_t) ((objc-1) * sizeof(Tcl_Obj *)));