Skip to content

Commit

Permalink
fix unused varaible (#3455)
Browse files Browse the repository at this point in the history
Co-authored-by: Sophie <84560950+Sophie-Xie@users.noreply.github.com>
  • Loading branch information
panda-sheep and Sophie-Xie authored Dec 13, 2021
1 parent 393e169 commit 35ddd01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/graph/validator/GoValidator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ Status GoValidator::validateImpl() {
}
auto varPropsMap = exprProps.varProps();
std::vector<std::string> keys;
for (const auto& [k, v] : varPropsMap) {
keys.emplace_back(k);
for (const auto& elem : varPropsMap) {
keys.emplace_back(elem.first);
}
if (keys.size() > 1) {
return Status::SemanticError("Multiple variable property is not supported in WHERE or YIELD");
Expand Down

0 comments on commit 35ddd01

Please sign in to comment.