diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2014-08-10 02:29:32 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-09-03 21:59:43 (GMT) |
commit | 42de4b169c5de9d3f22eb1f988aa5b69447951b2 (patch) | |
tree | 6d8e23e172ebec711698de49181e3ae9c0b46e89 /builtin/update-server-info.c | |
parent | 3af05a6d0da3addbcc050f3b1a1ac379e6c4025c (diff) | |
download | git-42de4b169c5de9d3f22eb1f988aa5b69447951b2.zip git-42de4b169c5de9d3f22eb1f988aa5b69447951b2.tar.gz git-42de4b169c5de9d3f22eb1f988aa5b69447951b2.tar.bz2 |
mv: remove an "if" that's always true
This is inside an "else" block of "if (last - first < 1)", so we know
that "last - first >= 1" when we come here. No need to check
"last - first > 0".
While at there, save "argc + last - first" to a variable to shorten
the statements a bit.
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/update-server-info.c')
0 files changed, 0 insertions, 0 deletions