aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Coudron <mattator@gmail.com>2017-09-30 11:44:50 +0900
committerMatthieu Coudron <mattator@gmail.com>2017-09-30 11:44:50 +0900
commit481e40cc8ca061f5c3a68f56f30ee96e9086da4d (patch)
tree0c9d0f17226126ebc6e6553a5e00c3f2c2319bf7
parent3a006486397d611234abd9b429bce0b44d6b7747 (diff)
downloadrneovim-481e40cc8ca061f5c3a68f56f30ee96e9086da4d.tar.gz
rneovim-481e40cc8ca061f5c3a68f56f30ee96e9086da4d.tar.bz2
rneovim-481e40cc8ca061f5c3a68f56f30ee96e9086da4d.zip
Remove duplicate ATTRENTRY_INIT
-rw-r--r--src/nvim/syntax.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/nvim/syntax.c b/src/nvim/syntax.c
index 32567a63de..933baad901 100644
--- a/src/nvim/syntax.c
+++ b/src/nvim/syntax.c
@@ -6825,8 +6825,6 @@ int hl_combine_attr(int char_attr, int prim_attr)
if (char_aep != NULL) {
// Copy all attributes from char_aep to the new entry
new_en = *char_aep;
- } else {
- new_en = (attrentry_T)ATTRENTRY_INIT;
}
spell_aep = syn_cterm_attr2entry(prim_attr);