diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-03-08 21:40:36 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-03-08 21:40:36 (GMT) |
commit | ba861c58b688b721f2b075c5fdf69297e501913d (patch) | |
tree | fb5c0a4cb66bfd93a5567d75ef6a7d81f1b61188 /generic/tclBasic.c | |
parent | ade5d5de18cdff5dac1921f61c8bfb1ad625ef6b (diff) | |
download | tcl-ba861c58b688b721f2b075c5fdf69297e501913d.zip tcl-ba861c58b688b721f2b075c5fdf69297e501913d.tar.gz tcl-ba861c58b688b721f2b075c5fdf69297e501913d.tar.bz2 |
Fix gcc warnings: variable set but not used
Diffstat (limited to 'generic/tclBasic.c')
-rw-r--r-- | generic/tclBasic.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/generic/tclBasic.c b/generic/tclBasic.c index 1c72e1b..acecba6 100644 --- a/generic/tclBasic.c +++ b/generic/tclBasic.c @@ -3234,6 +3234,7 @@ TclEvalObjvInternal(interp, objc, objv, command, length, flags) break; } +#ifdef USE_DTRACE if (TCL_DTRACE_CMD_ARGS_ENABLED()) { char *a[10]; int i = 0; @@ -3244,6 +3245,7 @@ TclEvalObjvInternal(interp, objc, objv, command, length, flags) TCL_DTRACE_CMD_ARGS(a[0], a[1], a[2], a[3], a[4], a[5], a[6], a[7], a[8], a[9]); } +#endif /* USE_DTRACE */ /* * Finally, invoke the command's Tcl_ObjCmdProc. @@ -3306,12 +3308,14 @@ TclEvalObjvInternal(interp, objc, objv, command, length, flags) (void) Tcl_GetObjResult(interp); } +#ifdef USE_DTRACE if (TCL_DTRACE_CMD_RESULT_ENABLED()) { Tcl_Obj *r; r = Tcl_GetObjResult(interp); TCL_DTRACE_CMD_RESULT(TclGetString(objv[0]), code, TclGetString(r), r); } +#endif /* USE_DTRACE */ done: iPtr->varFramePtr = savedVarFramePtr; |