Skip to content

Commit

Permalink
Remove incorrect assertion
Browse files Browse the repository at this point in the history
It is possible that we could call getExtraStartupHints() during startup.

Signed-off-by: Hang Shao <[email protected]>
  • Loading branch information
hangshao0 committed Oct 17, 2024
1 parent 8ae2b85 commit 8c50831
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions runtime/shared_common/CompositeCache.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6791,10 +6791,6 @@ SH_CompositeCacheImpl::updateMsyncRuntimeFlags(void)
U_32
SH_CompositeCacheImpl::getExtraStartupHints(void) const
{
if (!_started) {
Trc_SHR_Assert_ShouldNeverHappen();
return 0;
}
return _theca->extraStartupHints;
}

Expand Down

0 comments on commit 8c50831

Please sign in to comment.