# HG changeset patch # User Martin von Zweigbergk # Date 1534805823 25200 # Node ID fcaffbd7e635f184d9f030e07cb4f1ad4e63ce7d # Parent 5e52b6da9c0cc372c528cd99caccef5489d4e579 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 diff -r 5e52b6da9c0c -r fcaffbd7e635 mercurial/cext/revlog.c --- 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;