diff options
| author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2014-08-10 09:29:32 +0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2014-09-03 14:59:43 -0700 |
| commit | 42de4b169c5de9d3f22eb1f988aa5b69447951b2 (patch) | |
| tree | 6d8e23e172ebec711698de49181e3ae9c0b46e89 /argv-array.c | |
| parent | 3af05a6d0da3addbcc050f3b1a1ac379e6c4025c (diff) | |
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 'argv-array.c')
0 files changed, 0 insertions, 0 deletions
