summaryrefslogtreecommitdiffstats
path: root/generic/tclProc.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-03-08 22:25:00 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-03-08 22:25:00 (GMT)
commitc3c79c2377af5c203948885e9b1d4a94fe900ec0 (patch)
tree71658fca7a5795c39bdb476317fbb3fdd53a14fc /generic/tclProc.c
parenta796a0432c1e10e68ad4b927b2066e58b700b9d5 (diff)
parentd76f731864215bbd4f01222a06ca7ff03af57c19 (diff)
downloadtcl-c3c79c2377af5c203948885e9b1d4a94fe900ec0.zip
tcl-c3c79c2377af5c203948885e9b1d4a94fe900ec0.tar.gz
tcl-c3c79c2377af5c203948885e9b1d4a94fe900ec0.tar.bz2
Fix gcc warnings: variable set but not used
Diffstat (limited to 'generic/tclProc.c')
-rw-r--r--generic/tclProc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/generic/tclProc.c b/generic/tclProc.c
index d33d063..4588988 100644
--- a/generic/tclProc.c
+++ b/generic/tclProc.c
@@ -1769,6 +1769,7 @@ TclNRInterpProcCore(
}
#endif /*TCL_COMPILE_DEBUG*/
+#ifdef USE_DTRACE
if (TCL_DTRACE_PROC_ARGS_ENABLED()) {
int l = iPtr->varFramePtr->isProcCallFrame & FRAME_IS_LAMBDA ? 1 : 0;
const char *a[10];
@@ -1798,6 +1799,7 @@ TclNRInterpProcCore(
iPtr->varFramePtr->objc - l - 1,
(Tcl_Obj **)(iPtr->varFramePtr->objv + l + 1));
}
+#endif /* USE_DTRACE */
/*
* Invoke the commands in the procedure's body.