summaryrefslogtreecommitdiffstats
path: root/generic/tclProc.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2006-05-15 16:07:47 (GMT)
committerdgp <dgp@users.sourceforge.net>2006-05-15 16:07:47 (GMT)
commite536a582d0f19342df23dd5b267573cfe9158935 (patch)
treeab0663eca5ae4a715d1ba129d778192fdd6ed6e7 /generic/tclProc.c
parentd730fcbe31aa683b8bb53ad39bb62b9bdeb4da53 (diff)
downloadtcl-e536a582d0f19342df23dd5b267573cfe9158935.zip
tcl-e536a582d0f19342df23dd5b267573cfe9158935.tar.gz
tcl-e536a582d0f19342df23dd5b267573cfe9158935.tar.bz2
Silence compiler warning.
Diffstat (limited to 'generic/tclProc.c')
-rw-r--r--generic/tclProc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/generic/tclProc.c b/generic/tclProc.c
index 200a6b6..2069ea9 100644
--- a/generic/tclProc.c
+++ b/generic/tclProc.c
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclProc.c,v 1.90 2006/05/13 17:14:26 dgp Exp $
+ * RCS: @(#) $Id: tclProc.c,v 1.91 2006/05/15 16:07:47 dgp Exp $
*/
#include "tclInt.h"
@@ -1572,7 +1572,8 @@ ProcCompileProc(
new->iPtr = procPtr->iPtr;
new->refCount = 1;
- token = (Tcl_Command) new->cmdPtr = procPtr->cmdPtr;
+ new->cmdPtr = procPtr->cmdPtr;
+ token = (Tcl_Command) new->cmdPtr;
new->bodyPtr = Tcl_DuplicateObj(bodyPtr);
bodyPtr = new->bodyPtr;
Tcl_IncrRefCount(bodyPtr);