Skip to content

Commit a337806

Browse files
committed
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
1 parent 4d1ecad commit a337806

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/unittests/Support/VirtualFileSystemTest.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ class DummyFileSystem : public vfs::FileSystem {
143143
Path.toVector(P);
144144
std::error_code EC = makeAbsolute(P);
145145
assert(!EC);
146+
(void)EC;
146147
return FilesAndDirs.find(P.str());
147148
}
148149

0 commit comments

Comments
 (0)