summaryrefslogtreecommitdiffstats
path: root/src/highlight.c
diff options
context:
space:
mode:
authorYegappan Lakshmanan <yegappan@yahoo.com>2022-09-03 10:52:24 +0100
committerBram Moolenaar <Bram@vim.org>2022-09-03 10:52:24 +0100
commitc99e182e1fb54e39540d25d0ccd8dcdde25bb96c (patch)
treed0cec00ea2cd55d8fb68d353712b70d8be952e5f /src/highlight.c
parentb18b49699776485150b71626069a40d12d2c5590 (diff)
patch 9.0.0364: clang static analyzer gives warningsv9.0.0364
Problem: Clang static analyzer gives warnings. Solution: Avoid the warnings. (Yegappan Lakshmanan, closes #11043)
Diffstat (limited to 'src/highlight.c')
-rw-r--r--src/highlight.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/highlight.c b/src/highlight.c
index 303d5c294f..d0d6fdef6b 100644
--- a/src/highlight.c
+++ b/src/highlight.c
@@ -4515,7 +4515,7 @@ hlg_add_or_update(dict_T *dict)
# endif
p = add_attr_and_value(p, (char_u *)" guifg=", 7, guifg);
p = add_attr_and_value(p, (char_u *)" guibg=", 7, guibg);
- p = add_attr_and_value(p, (char_u *)" guisp=", 7, guisp);
+ (void)add_attr_and_value(p, (char_u *)" guisp=", 7, guisp);
do_highlight(hlsetBuf, forceit, FALSE);