Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame^] | 1 | From 0d863b444c9a54a92dab176b1b656c116923e1ca Mon Sep 17 00:00:00 2001 |
| 2 | From: alan-baker <alanbaker@google.com> |
| 3 | Date: Wed, 30 Mar 2022 12:59:28 -0400 |
| 4 | Subject: [PATCH] Remove dead variable (#984) |
| 5 | |
| 6 | Upstream-Status: Backport [https://github.com/google/amber/commit/627ee453d6047ced0e2dd13cde983b341d0615e3] |
| 7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 8 | --- |
| 9 | src/vkscript/command_parser.cc | 2 -- |
| 10 | 1 file changed, 2 deletions(-) |
| 11 | |
| 12 | diff --git a/src/vkscript/command_parser.cc b/src/vkscript/command_parser.cc |
| 13 | index 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 | -- |
| 33 | 2.37.3 |
| 34 | |