*fixed a variable arguments constant initialization issue.

This commit is contained in:
Wang Renxin 2016-07-13 17:53:58 +08:00 committed by GitHub
parent 9f1cd5a606
commit dc7123195f

View File

@ -680,7 +680,7 @@ static _object_t* _OBJ_BOOL_TRUE = 0;
static _object_t* _OBJ_BOOL_FALSE = 0; static _object_t* _OBJ_BOOL_FALSE = 0;
#ifdef MB_ENABLE_CLASS #ifdef MB_ENABLE_CLASS
static const _var_t _VAR_ARGS = { "...", 0, 0 }; static const _var_t _VAR_ARGS = { "...", 0, 0, 0 };
#else /* MB_ENABLE_CLASS */ #else /* MB_ENABLE_CLASS */
static const _var_t _VAR_ARGS = { "...", 0 }; static const _var_t _VAR_ARGS = { "...", 0 };
#endif /* MB_ENABLE_CLASS */ #endif /* MB_ENABLE_CLASS */