mirror of
https://github.com/neovim/neovim.git
synced 2024-12-26 14:11:15 -07:00
eval: Remove assert expression
GCC on travis thinks that 1. It is not constant. 2. Left-hand operand of comma has no effect (-Werror=unused-variable).
This commit is contained in:
parent
6a35f2ac8b
commit
54cc6d8025
@ -289,12 +289,7 @@ typedef enum {
|
||||
.di_tv = { .v_type = type }, \
|
||||
.di_flags = 0, \
|
||||
}, \
|
||||
.vv_filler = {( \
|
||||
STATIC_ASSERT_EXPR( \
|
||||
(sizeof(name) - 1 <= sizeof(vimvars[0].vv_filler)), \
|
||||
"Vim variable name is too long, adjust vv_filler size"), \
|
||||
0 \
|
||||
)}, \
|
||||
.vv_filler = { 0 }, \
|
||||
.vv_flags = flags, \
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user