Fix warnings in netconf-api and netconf-util