summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/Support
diff options
context:
space:
mode:
authorDavid L. Jones <dlj@google.com>2019-10-16 00:52:00 +0000
committerDavid L. Jones <dlj@google.com>2019-10-16 00:52:00 +0000
commita3378063ff6c65a2335a5eca42858b2a968c1094 (patch)
tree7542d85d1a0f6b932e2169c39363bb191d9cf4ce /llvm/unittests/Support
parent4d1ecadda59ce82e5fa6e28dd15bf794eee88363 (diff)
downloadbcm5719-llvm-a3378063ff6c65a2335a5eca42858b2a968c1094.tar.gz
bcm5719-llvm-a3378063ff6c65a2335a5eca42858b2a968c1094.zip
Fix an unused variable introduced in rL374955 / rG21703543.
Even though this is a unit test, it still may be run under optimization. llvm-svn: 374961
Diffstat (limited to 'llvm/unittests/Support')
-rw-r--r--llvm/unittests/Support/VirtualFileSystemTest.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/unittests/Support/VirtualFileSystemTest.cpp b/llvm/unittests/Support/VirtualFileSystemTest.cpp
index 504434c3be0..69e9ce80f79 100644
--- a/llvm/unittests/Support/VirtualFileSystemTest.cpp
+++ b/llvm/unittests/Support/VirtualFileSystemTest.cpp
@@ -143,6 +143,7 @@ public:
Path.toVector(P);
std::error_code EC = makeAbsolute(P);
assert(!EC);
+ (void)EC;
return FilesAndDirs.find(P.str());
}
OpenPOWER on IntegriCloud