summaryrefslogtreecommitdiffstats
path: root/generic/tclListObj.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2019-04-18 08:31:11 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2019-04-18 08:31:11 (GMT)
commit9cf9c0a5e5c1bc1e2cf81abce0c91a9acd632977 (patch)
tree20c949fe290767c77ca8272c804e2ab6e4d9751e /generic/tclListObj.c
parent522f29c7ccb2ac30aa107ce07f227c73eab3f944 (diff)
downloadtcl-9cf9c0a5e5c1bc1e2cf81abce0c91a9acd632977.zip
tcl-9cf9c0a5e5c1bc1e2cf81abce0c91a9acd632977.tar.gz
tcl-9cf9c0a5e5c1bc1e2cf81abce0c91a9acd632977.tar.bz2
Style corrections and warning elimination
Diffstat (limited to 'generic/tclListObj.c')
-rw-r--r--generic/tclListObj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclListObj.c b/generic/tclListObj.c
index 0180920..ad64971 100644
--- a/generic/tclListObj.c
+++ b/generic/tclListObj.c
@@ -1105,7 +1105,7 @@ Tcl_ListObjReplace(
Tcl_Obj **oldPtrs = elemPtrs;
int newMax;
- if (needGrow){
+ if (needGrow) {
newMax = 2 * numRequired;
} else {
newMax = listRepPtr->maxElemCount;