This is an archive of the discontinued LLVM Phabricator instance.

Fix warnings about variables that are set but only used in debug mode
ClosedPublic

Authored by mstorsjo on Apr 5 2022, 3:58 AM.

Details

Summary

Add void casts to mark the variables used, next to the places where
they are used in assert or LLVM_DEBUG() expressions.

Diff Detail

Event Timeline

mstorsjo created this revision.Apr 5 2022, 3:58 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 5 2022, 3:58 AM
Herald added subscribers: pmatos, asb, wenlei and 5 others. · View Herald Transcript
mstorsjo requested review of this revision.Apr 5 2022, 3:58 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 5 2022, 3:58 AM
Herald added a subscriber: aheejin. · View Herald Transcript
xbolva00 accepted this revision.Apr 5 2022, 4:19 AM
This revision is now accepted and ready to land.Apr 5 2022, 4:19 AM
This revision was landed with ongoing or failed builds.Apr 6 2022, 12:02 AM
This revision was automatically updated to reflect the committed changes.