This is an archive of the discontinued LLVM Phabricator instance.

[StaticAnalyzer] Silence an unused variable warning. NFC.
AbandonedPublic

Authored by mgrang on Mar 22 2018, 1:12 PM.

Diff Detail

Repository
rC Clang

Event Timeline

mgrang created this revision.Mar 22 2018, 1:12 PM

Actually, a better change would be to simply change cast<VarRegion>(MR) to VR

mgrang updated this revision to Diff 139503.Mar 22 2018, 1:19 PM

Addressed comment.

george.karpenkov accepted this revision.Mar 22 2018, 1:21 PM

LGTM, provided it compiles and tests run (ninja check-clang)

This revision is now accepted and ready to land.Mar 22 2018, 1:21 PM

LGTM, provided it compiles and tests run (ninja check-clang)

Thanks! Yes, I have already verified it compiles and ninja check-clang is clean.

mgrang abandoned this revision.Mar 22 2018, 5:05 PM

This seems to already have been fixed in r327802. Abandoning this patch.