mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 08:18:15 +03:00
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:
parent
704ff64705
commit
fc49c9c61b
@ -1375,7 +1375,7 @@ class TreeInode::TreeRenameLocks {
|
||||
return destChildIter_->second.isDirectory();
|
||||
}
|
||||
bool destChildIsEmpty() const {
|
||||
DCHECK_NOTNULL(destChildContents_);
|
||||
DCHECK(destChildContents_);
|
||||
return destChildContents_->entries.empty();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user