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)
commit64d35cac9591025ab8c2423b56e7e180779ef923 (patch)
tree2b3e4227355efbab6bc18c609a23315c53a86686
parent0f33b87491ae62e54e99ded708b3b72d381bacc0 (diff)
parent0ea26c667c774bfee4e090ec52f391fad0af7ca5 (diff)
downloadtcl-64d35cac9591025ab8c2423b56e7e180779ef923.zip
tcl-64d35cac9591025ab8c2423b56e7e180779ef923.tar.gz
tcl-64d35cac9591025ab8c2423b56e7e180779ef923.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 *)));