services_discovery/: fix warnings