1
0
Fork 0

fix two minor issues reported by cppcheck

This commit is contained in:
jsteemann 2019-03-21 19:42:40 +01:00
parent 727f609863
commit ccf2a1e59d
2 changed files with 0 additions and 5 deletions

View File

@ -247,10 +247,6 @@ bool TailingSyncer::skipMarker(TRI_voc_tick_t firstRegularTick, VPackSlice const
return true;
}
if (tooOld) {
return true;
}
// the transient applier state is just used for one shard / collection
if (_state.applier._restrictCollections.empty()) {
return false;

View File

@ -1522,7 +1522,6 @@ static void JS_DebugShouldFailAt(v8::FunctionCallbackInfo<v8::Value> const& args
if (v8g->_vocbase == nullptr) {
TRI_V8_THROW_EXCEPTION_MEMORY();
}
std::string dbname(v8g->_vocbase->name());
// extract arguments
if (args.Length() != 1) {