Remove unused variable 'input_num'.

PiperOrigin-RevId: 513009671
This commit is contained in:
Jiuqiang Tang 2023-02-28 12:34:38 -08:00 committed by Copybara-Service
parent 2143baf7d5
commit 172b360478

View File

@ -48,7 +48,6 @@ class MergeToVectorCalculator : public Node {
} }
absl::Status Process(CalculatorContext* cc) { absl::Status Process(CalculatorContext* cc) {
const int input_num = kIn(cc).Count();
std::vector<T> output_vector; std::vector<T> output_vector;
for (auto it = kIn(cc).begin(); it != kIn(cc).end(); it++) { for (auto it = kIn(cc).begin(); it != kIn(cc).end(); it++) {
const auto& elem = *it; const auto& elem = *it;