Resolve compilation warnings