mirror of https://gitee.com/bigwinds/arangodb
cppcheck (#6856)
This commit is contained in:
parent
b7f4347f1f
commit
8b7400a36a
|
@ -140,7 +140,7 @@ bool FailedServer::start() {
|
|||
<< "Pending job for failed DB Server " << _server;
|
||||
|
||||
auto const& databases = _snapshot.hasAsChildren("/Plan/Collections").first;
|
||||
auto const& current = _snapshot.hasAsChildren("/Current/Collections").first;
|
||||
//auto const& current = _snapshot.hasAsChildren("/Current/Collections").first;
|
||||
|
||||
size_t sub = 0;
|
||||
|
||||
|
|
|
@ -953,9 +953,9 @@ ExecutionNode* ExecutionPlan::fromNodeForView(ExecutionNode* previous,
|
|||
}
|
||||
|
||||
TRI_ASSERT(expression->type == NODE_TYPE_VIEW);
|
||||
std::string const viewName = expression->getString();
|
||||
|
||||
#ifdef USE_IRESEARCH
|
||||
std::string const viewName = expression->getString();
|
||||
auto& vocbase = _ast->query()->vocbase();
|
||||
|
||||
std::shared_ptr<LogicalView> view;
|
||||
|
|
|
@ -525,8 +525,6 @@ std::unique_ptr<AqlItemBlock> InsertBlock::work() {
|
|||
result.reset(requestBlock(count, getNrOutputRegisters()));
|
||||
}
|
||||
|
||||
std::string errorMessage;
|
||||
|
||||
// loop over all blocks
|
||||
size_t dstRow = 0;
|
||||
|
||||
|
|
|
@ -142,7 +142,6 @@ std::map<CollectionID, std::vector<VertexShardInfo>>
|
|||
continue;
|
||||
}
|
||||
|
||||
std::vector<ShardID> edgeLookups;
|
||||
// distributeshardslike should cause the edges for a vertex to be
|
||||
// in the same shard index. x in vertexShard2 => E(x) in edgeShard2
|
||||
for (auto const& pair2 : edgeCollMap) {
|
||||
|
|
Loading…
Reference in New Issue