Fix style.

This commit is contained in:
Nikolai Kochetov 2020-04-09 09:28:13 +03:00
parent b9f73a9f77
commit ae6267070e

View File

@ -151,10 +151,10 @@ void QueryPipeline::init(Pipes pipes)
totals.emplace_back(totals_port);
}
if (auto * extremes_port_ = pipe.getExtremesPort())
if (auto * port = pipe.getExtremesPort())
{
assertBlocksHaveEqualStructure(current_header, extremes_port_->getHeader(), "QueryPipeline");
extremes.emplace_back(extremes_port_);
assertBlocksHaveEqualStructure(current_header, port->getHeader(), "QueryPipeline");
extremes.emplace_back(port);
}
streams.addStream(&pipe.getPort(), pipe.maxParallelStreams());