0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

patch 8.0.1134: superfluous call to syn_get_final_id()

Problem:    Superfluous call to syn_get_final_id().
Solution:   Remove it. (Ken Takata)
This commit is contained in:
Bram Moolenaar
2017-09-22 13:53:37 +02:00
parent f3d769a585
commit 76301956f0
2 changed files with 3 additions and 1 deletions

View File

@@ -9556,7 +9556,7 @@ syn_name2attr(char_u *name)
int id = syn_name2id(name);
if (id != 0)
return syn_id2attr(syn_get_final_id(id));
return syn_id2attr(id);
return 0;
}