summaryrefslogtreecommitdiffstats
path: root/generic/tclStringObj.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tclStringObj.c')
-rw-r--r--generic/tclStringObj.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclStringObj.c b/generic/tclStringObj.c
index c1c15f2..6332e9f 100644
--- a/generic/tclStringObj.c
+++ b/generic/tclStringObj.c
@@ -2930,9 +2930,9 @@ TclStringCatObjv(
if (length == 0) {
first = last;
}
- }
- if ((length += numChars) < 0) {
- break; /* overflow */
+ if ((length += numChars) < 0) {
+ break; /* overflow */
+ }
}
}
}