summaryrefslogtreecommitdiffstats
path: root/generic/tclResult.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-08-15 08:10:11 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-08-15 08:10:11 (GMT)
commitab449cd1d2b045f11c52324c43feb38f00d12dda (patch)
tree67ff12657f597df926639a6aef0753add8985a0a /generic/tclResult.c
parentbe3995f91a73707ad23aa2454b143f6ee0301005 (diff)
parent62d4e2a24eedc77e3aff652f43cf553f8eecca3a (diff)
downloadtcl-ab449cd1d2b045f11c52324c43feb38f00d12dda.zip
tcl-ab449cd1d2b045f11c52324c43feb38f00d12dda.tar.gz
tcl-ab449cd1d2b045f11c52324c43feb38f00d12dda.tar.bz2
Merge 8.7
Diffstat (limited to 'generic/tclResult.c')
-rw-r--r--generic/tclResult.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/generic/tclResult.c b/generic/tclResult.c
index c75a1f1..aa2bad7 100644
--- a/generic/tclResult.c
+++ b/generic/tclResult.c
@@ -230,11 +230,11 @@ void
Tcl_SetObjResult(
Tcl_Interp *interp, /* Interpreter with which to associate the
* return object value. */
- register Tcl_Obj *objPtr) /* Tcl object to be returned. If NULL, the obj
+ Tcl_Obj *objPtr) /* Tcl object to be returned. If NULL, the obj
* result is made an empty string object. */
{
- register Interp *iPtr = (Interp *) interp;
- register Tcl_Obj *oldObjResult = iPtr->objResultPtr;
+ Interp *iPtr = (Interp *) interp;
+ Tcl_Obj *oldObjResult = iPtr->objResultPtr;
iPtr->objResultPtr = objPtr;
Tcl_IncrRefCount(objPtr); /* since interp result is a reference */
@@ -272,7 +272,7 @@ Tcl_Obj *
Tcl_GetObjResult(
Tcl_Interp *interp) /* Interpreter whose result to return. */
{
- register Interp *iPtr = (Interp *) interp;
+ Interp *iPtr = (Interp *) interp;
return iPtr->objResultPtr;
}
@@ -393,9 +393,9 @@ Tcl_AppendElement(
void
Tcl_FreeResult(
- register Tcl_Interp *interp)/* Interpreter for which to free result. */
+ Tcl_Interp *interp)/* Interpreter for which to free result. */
{
- register Interp *iPtr = (Interp *) interp;
+ Interp *iPtr = (Interp *) interp;
ResetObjResult(iPtr);
}
@@ -421,9 +421,9 @@ Tcl_FreeResult(
void
Tcl_ResetResult(
- register Tcl_Interp *interp)/* Interpreter for which to clear result. */
+ Tcl_Interp *interp)/* Interpreter for which to clear result. */
{
- register Interp *iPtr = (Interp *) interp;
+ Interp *iPtr = (Interp *) interp;
ResetObjResult(iPtr);
if (iPtr->errorCode) {
@@ -474,10 +474,10 @@ Tcl_ResetResult(
static void
ResetObjResult(
- register Interp *iPtr) /* Points to the interpreter whose result
+ Interp *iPtr) /* Points to the interpreter whose result
* object should be reset. */
{
- register Tcl_Obj *objResultPtr = iPtr->objResultPtr;
+ Tcl_Obj *objResultPtr = iPtr->objResultPtr;
if (Tcl_IsShared(objResultPtr)) {
TclDecrRefCount(objResultPtr);