Fix opt-tsan build

Summary:
Per
35ba669307,
if the return value of DCHECK_NOT_NULL is expected to be unused,
DCHECK should be used instead.

Reviewed By: strager

Differential Revision: D8336319

fbshipit-source-id: 9ea758502baead8941b274dc0ed38ce59b1cc136
This commit is contained in:
Chad Austin 2018-06-08 13:15:02 -07:00 committed by Facebook Github Bot
parent 704ff64705
commit fc49c9c61b

View File

@ -1375,7 +1375,7 @@ class TreeInode::TreeRenameLocks {
return destChildIter_->second.isDirectory();
}
bool destChildIsEmpty() const {
DCHECK_NOTNULL(destChildContents_);
DCHECK(destChildContents_);
return destChildContents_->entries.empty();
}