diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-03-08 22:25:00 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-03-08 22:25:00 (GMT) |
commit | c3c79c2377af5c203948885e9b1d4a94fe900ec0 (patch) | |
tree | 71658fca7a5795c39bdb476317fbb3fdd53a14fc /generic/tclBasic.c | |
parent | a796a0432c1e10e68ad4b927b2066e58b700b9d5 (diff) | |
parent | d76f731864215bbd4f01222a06ca7ff03af57c19 (diff) | |
download | tcl-c3c79c2377af5c203948885e9b1d4a94fe900ec0.zip tcl-c3c79c2377af5c203948885e9b1d4a94fe900ec0.tar.gz tcl-c3c79c2377af5c203948885e9b1d4a94fe900ec0.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 5100dd9..7324611 100644 --- a/generic/tclBasic.c +++ b/generic/tclBasic.c @@ -4230,6 +4230,7 @@ TclNREvalObjv( } } +#ifdef USE_DTRACE if (TCL_DTRACE_CMD_ARGS_ENABLED()) { const char *a[10]; int i = 0; @@ -4255,6 +4256,7 @@ TclNREvalObjv( TCL_DTRACE_CMD_ENTRY(TclGetString(objv[0]), objc - 1, (Tcl_Obj **)(objv + 1)); } +#endif /* USE_DTRACE */ /* * Fix the original callback to point to the now known cmdPtr. Insure that @@ -8109,6 +8111,7 @@ Tcl_NRCallObjProc( int result = TCL_OK; NRE_callback *rootPtr = TOP_CB(interp); +#ifdef USE_DTRACE if (TCL_DTRACE_CMD_ARGS_ENABLED()) { const char *a[10]; int i = 0; @@ -8135,6 +8138,7 @@ Tcl_NRCallObjProc( TCL_DTRACE_CMD_ENTRY(TclGetString(objv[0]), objc - 1, (Tcl_Obj **)(objv + 1)); } +#endif /* USE_DTRACE */ result = objProc(clientData, interp, objc, objv); return TclNRRunCallbacks(interp, result, rootPtr); } |