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:
ZyX 2016-03-02 13:30:39 +03:00
parent 6a35f2ac8b
commit 54cc6d8025

View File

@ -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, \
}