Remove unused variables

Reviewers: mferencevic, llugovic

Reviewed By: mferencevic, llugovic

Subscribers: pullbot

Differential Revision: https://phabricator.memgraph.io/D1803
This commit is contained in:
Teon Banek 2019-01-15 14:32:33 +01:00
parent c39a2278ae
commit 150331e701
2 changed files with 2 additions and 2 deletions

View File

@ -187,7 +187,7 @@ bool PlanPrinter::PreVisit(query::plan::Union &op) {
}
bool PlanPrinter::Visit(query::plan::Once &op) {
WithPrintLn([&op](auto &out) { out << "* Once"; });
WithPrintLn([](auto &out) { out << "* Once"; });
return true;
}

View File

@ -23,7 +23,7 @@ int main() {
std::vector<std::thread> threads;
for (int i = 0; i < kNumThreads; ++i) {
threads.push_back(std::thread([&list, &success, i] {
threads.push_back(std::thread([&list, &success] {
for (uint64_t num = 0; num < kMaxNum; ++num) {
auto acc = list.access();
if (acc.remove(num)) {