This is an archive of the discontinued LLVM Phabricator instance.

[scudo][standalone] Fix -Werror=empty-body error on Fuchsia
AbandonedPublic

Authored by cryptoad on Apr 16 2021, 1:38 PM.

Details

Summary

Some gcc builders use this, resulting in breakage when the DCHECK is
empty. Add braces.

Diff Detail

Event Timeline

cryptoad requested review of this revision.Apr 16 2021, 1:38 PM
cryptoad created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptApr 16 2021, 1:38 PM
Herald added a subscriber: Restricted Project. · View Herald Transcript
vitalybuka accepted this revision.Apr 16 2021, 10:19 PM

LGTM even if it's unneeded after D100693

This revision is now accepted and ready to land.Apr 16 2021, 10:19 PM