phrocker commented on a change in pull request #533: MINIFICPP-726 - Enhance 
ExtractText to have more feature parity with …
URL: https://github.com/apache/nifi-minifi-cpp/pull/533#discussion_r274057558
 
 

 ##########
 File path: libminifi/src/processors/ExtractText.cpp
 ##########
 @@ -74,11 +111,13 @@ void ExtractText::onTrigger(core::ProcessContext 
*context, core::ProcessSession
 int64_t ExtractText::ReadCallback::process(std::shared_ptr<io::BaseStream> 
stream) {
   int64_t ret = 0;
   uint64_t read_size = 0;
+  bool regex_mode = RegexMode.getDefaultValue();
 
 Review comment:
   Why assign to the default value, just because you want to assign it to 
something?

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to