bakaid commented on a change in pull request #646: MINIFICPP-1031 - RemoteProcessorGroupPort::setURL fails in case port … URL: https://github.com/apache/nifi-minifi-cpp/pull/646#discussion_r325196326
########## File path: libminifi/include/RemoteProcessorGroupPort.h ########## @@ -146,7 +146,7 @@ class RemoteProcessorGroupPort : public core::Processor { for (auto url : urls) { logger_->log_trace("Parsing %s", url); std::string host, protocol; - int port; + int port = -1; Review comment: Thanks for the explanation, I agree that this was the better choice in this case. Do you think you could create a follow-up task to refactor this part when we get the chance? ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services