mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Fix pvs studio varning.
This commit is contained in:
parent
fa98587c19
commit
81b5b17828
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user