diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2014-08-10 04:29:32 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-09-03 23:59:43 +0200 |
commit | 42de4b169c5de9d3f22eb1f988aa5b69447951b2 (patch) | |
tree | 6d8e23e172ebec711698de49181e3ae9c0b46e89 /unicode_width.h | |
parent | mv: split submodule move preparation code out (diff) | |
download | git-42de4b169c5de9d3f22eb1f988aa5b69447951b2.tar.xz git-42de4b169c5de9d3f22eb1f988aa5b69447951b2.zip |
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 'unicode_width.h')
0 files changed, 0 insertions, 0 deletions