aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralan-baker <alanbaker@google.com>2022-03-30 12:59:28 -0400
committerGitHub <noreply@github.com>2022-03-30 12:59:28 -0400
commit627ee453d6047ced0e2dd13cde983b341d0615e3 (patch)
treeb6b0194899cd8a5c79ff0fd6eac5fc87bd93d35c
parente754c9081da75b6451e6022ecc13ce3ee5bf0f6e (diff)
downloadamber-627ee453d6047ced0e2dd13cde983b341d0615e3.tar.gz
Remove dead variable (#984)
-rw-r--r--src/vkscript/command_parser.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/vkscript/command_parser.cc b/src/vkscript/command_parser.cc
index 610c7e6..3429d4d 100644
--- a/src/vkscript/command_parser.cc
+++ b/src/vkscript/command_parser.cc
@@ -486,7 +486,6 @@ Result CommandParser::ParseValues(const std::string& name,
std::vector<Value>* values) {
assert(values);
- uint32_t row_index = 0;
auto token = tokenizer_->NextToken();
size_t seen = 0;
while (!token->IsEOL() && !token->IsEOS()) {
@@ -515,7 +514,6 @@ Result CommandParser::ParseValues(const std::string& name,
values->push_back(v);
token = tokenizer_->NextToken();
- ++row_index;
++seen;
}