Fix a warning on static variable access checker.