Skip to content

Commit d23b6b8

Browse files
committed
review changes
1 parent 0a3ae8b commit d23b6b8

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

extension-framework/cpp-extension-lib/mocklib/src/MockProcessSession.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@
2222
namespace org::apache::nifi::minifi::mock {
2323

2424
api::core::FlowFile MockProcessSession::create(const api::core::FlowFile*) {
25-
auto new_ff = api::core::FlowFile{new MinifiFlowFile}; // NOLINT(clang-analyzer-cplusplus.NewDeleteLeaks)
26-
return new_ff;
25+
return api::core::FlowFile{new MinifiFlowFile};
2726
}
2827
api::core::FlowFile MockProcessSession::get() {
2928
if (input_flow_files_.empty()) { return nullptr; }

0 commit comments

Comments
 (0)