remove assertion to avoid cppcheck warning

Signed-off-by: Ruoyu <liangry@ucweb.com>