Remove var used only in assertion to avoid warning