blob: c29d80aa1063b9373b6a9cd155a1451ed2612e9b [file] [log] [blame]
Andrew Geissler87f5cff2022-09-30 13:13:31 -05001From 0d863b444c9a54a92dab176b1b656c116923e1ca Mon Sep 17 00:00:00 2001
2From: alan-baker <alanbaker@google.com>
3Date: Wed, 30 Mar 2022 12:59:28 -0400
4Subject: [PATCH] Remove dead variable (#984)
5
6Upstream-Status: Backport [https://github.com/google/amber/commit/627ee453d6047ced0e2dd13cde983b341d0615e3]
7Signed-off-by: Khem Raj <raj.khem@gmail.com>
8---
9 src/vkscript/command_parser.cc | 2 --
10 1 file changed, 2 deletions(-)
11
12diff --git a/src/vkscript/command_parser.cc b/src/vkscript/command_parser.cc
13index 610c7e6..3429d4d 100644
14--- a/src/vkscript/command_parser.cc
15+++ b/src/vkscript/command_parser.cc
16@@ -486,7 +486,6 @@ Result CommandParser::ParseValues(const std::string& name,
17 std::vector<Value>* values) {
18 assert(values);
19
20- uint32_t row_index = 0;
21 auto token = tokenizer_->NextToken();
22 size_t seen = 0;
23 while (!token->IsEOL() && !token->IsEOS()) {
24@@ -515,7 +514,6 @@ Result CommandParser::ParseValues(const std::string& name,
25 values->push_back(v);
26 token = tokenizer_->NextToken();
27
28- ++row_index;
29 ++seen;
30 }
31
32--
332.37.3
34