mirror of
https://github.com/vim/vim.git
synced 2025-09-30 04:44:14 -04:00
patch 8.2.4610: some conditions are always true
Problem: Some conditions are always true. Solution: Remove the useless conditions. (closes #9993)
This commit is contained in:
@@ -847,7 +847,7 @@ sign_mark_adjust(
|
||||
if (sign->se_lnum < line1)
|
||||
continue;
|
||||
new_lnum = sign->se_lnum;
|
||||
if (sign->se_lnum >= line1 && sign->se_lnum <= line2)
|
||||
if (sign->se_lnum <= line2)
|
||||
{
|
||||
if (amount != MAXLNUM)
|
||||
new_lnum += amount;
|
||||
|
Reference in New Issue
Block a user