This is an archive of the discontinued LLVM Phabricator instance.

[libcxx] [test] Silence unused variable warnings in invoke.pass.cpp.
ClosedPublic

Authored by STL_MSFT on Jun 21 2016, 5:48 PM.

Details

Summary

Silence unused variable warnings in invoke.pass.cpp.

Fixes MSVC warning C4101 "unreferenced local variable".

Diff Detail

Event Timeline

STL_MSFT updated this revision to Diff 61474.Jun 21 2016, 5:48 PM
STL_MSFT retitled this revision from to [libcxx] [test] Silence unused variable warnings in invoke.pass.cpp..
STL_MSFT updated this object.
STL_MSFT added reviewers: EricWF, mclow.lists.
STL_MSFT added a subscriber: cfe-commits.
EricWF accepted this revision.Jun 21 2016, 6:01 PM
EricWF edited edge metadata.
This revision is now accepted and ready to land.Jun 21 2016, 6:01 PM
EricWF closed this revision.Jun 21 2016, 6:05 PM

For some reason your patch wouldn't apply, but I committed my own version in r273348.

Oops, that's because it touched the same file as my "avoid C++17 terse static_assert" patch, which hadn't been accepted yet. Thanks for fixing it up.

STL