summaryrefslogtreecommitdiffstats
path: root/generic/tclProc.c
diff options
context:
space:
mode:
authordgp <dgp@noemail.net>2006-05-15 16:07:03 (GMT)
committerdgp <dgp@noemail.net>2006-05-15 16:07:03 (GMT)
commit03bebdcad02878443d087f3fc6ac62f72bf7315d (patch)
tree986b68a90ca21032cef3dc940956732eebe28b18 /generic/tclProc.c
parentb8a07b5d359e1a88fb19e1a6b0bad1ae161db965 (diff)
downloadtcl-03bebdcad02878443d087f3fc6ac62f72bf7315d.zip
tcl-03bebdcad02878443d087f3fc6ac62f72bf7315d.tar.gz
tcl-03bebdcad02878443d087f3fc6ac62f72bf7315d.tar.bz2
Silence compiler warning.
FossilOrigin-Name: 3e5d0df2942458e4de0081e9fc29ff388ba93904
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 61653c9..aae5008 100644
--- a/generic/tclProc.c
+++ b/generic/tclProc.c
@@ -10,7 +10,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.44.2.4 2006/05/13 17:17:11 dgp Exp $
+ * RCS: @(#) $Id: tclProc.c,v 1.44.2.5 2006/05/15 16:07:04 dgp Exp $
*/
#include "tclInt.h"
@@ -1257,7 +1257,8 @@ ProcCompileProc(interp, procPtr, bodyPtr, nsPtr, description,
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);