Make the "sanity" local variable const.