Suppress warning in location manager