Disabled clang warning for unused init variable.
Added maxlive reset.