forked from aniani/vim
patch 8.0.1478: unnecessary condition
Problem: Unnecessary condition for "len" being zero. Solution: Remove the condition. (Dominique Pelle)
This commit is contained in:
@@ -6183,7 +6183,7 @@ nfa_regmatch(
|
||||
{
|
||||
/* If \Z was present, then ignore composing characters.
|
||||
* When ignoring the base character this always matches. */
|
||||
if (len == 0 && sta->c != curc)
|
||||
if (sta->c != curc)
|
||||
result = FAIL;
|
||||
else
|
||||
result = OK;
|
||||
|
Reference in New Issue
Block a user