Skip to content

Commit c4ae133

Browse files
committed
Remove useless line of code.
1 parent 6ae9a03 commit c4ae133

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/inference/rerank/RerankOperatorOutputBuilder.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ public void close() {
4747
*/
4848
@Override
4949
public Page buildOutput() {
50-
int blockCount = Integer.max(inputPage.getBlockCount(), scoreChannel + 1);
5150
Page outputPage = inputPage.appendBlock(scoreBlockBuilder.build());
5251

5352
if (scoreChannel == inputPage.getBlockCount()) {

0 commit comments

Comments
 (0)