This is an archive of the discontinued LLVM Phabricator instance.

[NFC] Fix unused variable warning.
ClosedPublic

Authored by ncv on Jan 28 2020, 4:09 PM.

Diff Detail

Event Timeline

ncv created this revision.Jan 28 2020, 4:09 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 28 2020, 4:09 PM
ncv added a reviewer: dschuff.Jan 28 2020, 4:10 PM

How about just isa<WasmObjectFile>(&O) instead?

Otherwise, LGTM

ncv updated this revision to Diff 241027.Jan 28 2020, 5:04 PM

Using isa<> rather than dyn_cast and discarding result.

dschuff accepted this revision.Jan 28 2020, 5:11 PM
This revision is now accepted and ready to land.Jan 28 2020, 5:11 PM
This revision was automatically updated to reflect the committed changes.