Fix pvs studio varning.

This commit is contained in:
Nikolai Kochetov 2019-12-03 15:08:59 +03:00
parent fa98587c19
commit 81b5b17828

View File

@ -238,11 +238,8 @@ IProcessor::Status ResizeProcessor::prepare(const PortNumbers & updated_inputs,
if (input_with_data.port->isFinished())
{
if (input_with_data.status != InputStatus::Finished)
{
input_with_data.status = InputStatus::Finished;
++num_finished_inputs;
}
input_with_data.status = InputStatus::Finished;
++num_finished_inputs;
}
}