diff options
author | jan.nijtmans <jan.nijtmans@noemail.net> | 2011-03-08 22:25:00 (GMT) |
---|---|---|
committer | jan.nijtmans <jan.nijtmans@noemail.net> | 2011-03-08 22:25:00 (GMT) |
commit | e281d01487d78c56599ed7e55ca0e1e40d489cd4 (patch) | |
tree | 71658fca7a5795c39bdb476317fbb3fdd53a14fc /generic/tclBasic.c | |
parent | 54eefd33a9b60c990a1b46e835e6bee9f8c66624 (diff) | |
parent | 59d4f6ecbed73e49a930f48edd80521369fab3e1 (diff) | |
download | tcl-e281d01487d78c56599ed7e55ca0e1e40d489cd4.zip tcl-e281d01487d78c56599ed7e55ca0e1e40d489cd4.tar.gz tcl-e281d01487d78c56599ed7e55ca0e1e40d489cd4.tar.bz2 |
Fix gcc warnings: variable set but not used
FossilOrigin-Name: 448cb95dbe38f706700fe30b0d0bef6cdd2cc546
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); } |