Mercurial > hg
changeset 39225:fcaffbd7e635
index: fix a comment about overflow-checking
There's no "argument-checking" done in this method. This was a bad
copy paste.
Differential Revision: https://phab.mercurial-scm.org/D4339
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Mon, 20 Aug 2018 15:57:03 -0700 |
parents | 5e52b6da9c0c |
children | 7a759ad2d06d |
files | mercurial/cext/revlog.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/cext/revlog.c Mon Aug 20 16:19:36 2018 -0400 +++ b/mercurial/cext/revlog.c Mon Aug 20 15:57:03 2018 -0700 @@ -1095,7 +1095,7 @@ static int nt_init(nodetree *self, indexObject *index, unsigned capacity) { - /* Initialize before argument-checking to avoid nt_dealloc() crash. */ + /* Initialize before overflow-checking to avoid nt_dealloc() crash. */ self->nodes = NULL; self->index = index;