[llvm] r374961 - Fix an unused variable introduced in rL374955 / rG21703543.
David L. Jones via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 15 17:52:01 PDT 2019
Author: dlj
Date: Tue Oct 15 17:52:00 2019
New Revision: 374961
URL: http://llvm.org/viewvc/llvm-project?rev=374961&view=rev
Log:
Fix an unused variable introduced in rL374955 / rG21703543.
Even though this is a unit test, it still may be run under optimization.
Modified:
llvm/trunk/unittests/Support/VirtualFileSystemTest.cpp
Modified: llvm/trunk/unittests/Support/VirtualFileSystemTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/Support/VirtualFileSystemTest.cpp?rev=374961&r1=374960&r2=374961&view=diff
==============================================================================
--- llvm/trunk/unittests/Support/VirtualFileSystemTest.cpp (original)
+++ llvm/trunk/unittests/Support/VirtualFileSystemTest.cpp Tue Oct 15 17:52:00 2019
@@ -143,6 +143,7 @@ public:
Path.toVector(P);
std::error_code EC = makeAbsolute(P);
assert(!EC);
+ (void)EC;
return FilesAndDirs.find(P.str());
}
More information about the llvm-commits
mailing list