summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-10-06 06:37:43 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-10-06 06:37:43 (GMT)
commit07160023530295009919bcf063e260bfaebe9851 (patch)
tree284c5d2aea3f4504edd3da311d2b2dc4f98e90bd /tests
parent5e7c6982ce66c388008bd5a81fac55fbf5b900da (diff)
parentcaa253fcf5871c9886ed214cfc4d68c5ab45d8f2 (diff)
downloadtk-07160023530295009919bcf063e260bfaebe9851.zip
tk-07160023530295009919bcf063e260bfaebe9851.tar.gz
tk-07160023530295009919bcf063e260bfaebe9851.tar.bz2
Merge 8.6. Fix some more -Wshadow warnings
Diffstat (limited to 'tests')
-rw-r--r--tests/text.test8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/text.test b/tests/text.test
index d830dc2..df2769e 100644
--- a/tests/text.test
+++ b/tests/text.test
@@ -5078,11 +5078,11 @@ test text-22.132 {TextSearchCmd, multiline regexp matching} -body {
void
Tcl_SetObjLength(objPtr, length)
- register Tcl_Obj *objPtr; /* Pointer to object. This object must
- * not currently be shared. */
- register int length; /* Number of bytes desired for string
+ Tcl_Obj *objPtr; /* Pointer to object. This object must
+ * not currently be shared. */
+ int length; /* Number of bytes desired for string
* representation of object, not including
- * terminating null byte. */
+ * terminating null byte. */
\{
char *new;
}