patch 8.2.4402: missing parenthesis may cause unexpected problems
Problem: Missing parenthesis may cause unexpected problems. Solution: Add more parenthesis is macros. (closes #9788)
This commit is contained in:
@ -4799,7 +4799,7 @@ readdir_core(
|
||||
# ifdef FEAT_EVAL
|
||||
# define FREE_ITEM(item) do { \
|
||||
if (withattr) \
|
||||
dict_unref((dict_T*)item); \
|
||||
dict_unref((dict_T*)(item)); \
|
||||
else \
|
||||
vim_free(item); \
|
||||
} while (0)
|
||||
|
||||
Reference in New Issue
Block a user