plugins: replace initial memset with c++ initializer list