]> granicus.if.org Git - llvm/commitdiff
Fix an unused variable introduced in rL374955 / rG21703543.
authorDavid L. Jones <dlj@google.com>
Wed, 16 Oct 2019 00:52:00 +0000 (00:52 +0000)
committerDavid L. Jones <dlj@google.com>
Wed, 16 Oct 2019 00:52:00 +0000 (00:52 +0000)
Even though this is a unit test, it still may be run under optimization.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@374961 91177308-0d34-0410-b5e6-96231b3b80d8

unittests/Support/VirtualFileSystemTest.cpp

index 504434c3be028073e21852e91b2e30ad5f97103f..69e9ce80f79bb3361bb16efff61d42b3b7b9d379 100644 (file)
@@ -143,6 +143,7 @@ public:
     Path.toVector(P);
     std::error_code EC = makeAbsolute(P);
     assert(!EC);
+    (void)EC;
     return FilesAndDirs.find(P.str());
   }