diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-01-25 12:58:20 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-01-25 12:58:20 (GMT) |
commit | ff878198efcc37e57031dcf223c086e00471f852 (patch) | |
tree | 2f8828416d8432593252efda2b82a1dca54b7c79 /generic/tclResult.c | |
parent | 84707cf7026c7f710ca6ffd4d7a1e7bde4f9ca51 (diff) | |
parent | 6ec16f5f96257f9a6ac5d507f8f19258c7ceaa28 (diff) | |
download | tcl-ff878198efcc37e57031dcf223c086e00471f852.zip tcl-ff878198efcc37e57031dcf223c086e00471f852.tar.gz tcl-ff878198efcc37e57031dcf223c086e00471f852.tar.bz2 |
merge trunk
Add -Wwrite-strings to compiler options, so we can guarantee correct "const" usage.
Diffstat (limited to 'generic/tclResult.c')
-rw-r--r-- | generic/tclResult.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclResult.c b/generic/tclResult.c index 1a73288..19bea0f 100644 --- a/generic/tclResult.c +++ b/generic/tclResult.c @@ -1278,7 +1278,7 @@ Tcl_GetReturnOptions( } if (result == TCL_ERROR) { - Tcl_AddObjErrorInfo(interp, "", -1); + Tcl_AddErrorInfo(interp, ""); Tcl_DictObjPut(NULL, options, keys[KEY_ERRORSTACK], iPtr->errorStack); } if (iPtr->errorCode) { |