szaszm commented on code in PR #1602: URL: https://github.com/apache/nifi-minifi-cpp/pull/1602#discussion_r1254210913
########## libminifi/src/core/state/nodes/DeviceInformation.cpp: ########## @@ -15,13 +15,307 @@ * limitations under the License. */ #include "core/state/nodes/DeviceInformation.h" + +#include <fstream> +#include <set> + #include "core/Resource.h" namespace org::apache::nifi::minifi::state::response { utils::SystemCpuUsageTracker DeviceInfoNode::cpu_load_tracker_; std::mutex DeviceInfoNode::cpu_load_tracker_mutex_; +Device::Device() { + addrinfo hints; + memset(&hints, 0, sizeof hints); // make sure the struct is empty + hints.ai_family = AF_UNSPEC; + hints.ai_socktype = SOCK_STREAM; + hints.ai_flags = AI_CANONNAME; + hints.ai_protocol = 0; /* any protocol */ + Review Comment: This looks unused. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@nifi.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org