[llvm] r336298 - Silence an MSVC C4189 warning about a local variable being initialized but not used; NFC.
Aaron Ballman via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 4 14:22:28 PDT 2018
Author: aaronballman
Date: Wed Jul 4 14:22:28 2018
New Revision: 336298
URL: http://llvm.org/viewvc/llvm-project?rev=336298&view=rev
Log:
Silence an MSVC C4189 warning about a local variable being initialized but not used; NFC.
Modified:
llvm/trunk/unittests/Support/Path.cpp
Modified: llvm/trunk/unittests/Support/Path.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/Support/Path.cpp?rev=336298&r1=336297&r2=336298&view=diff
==============================================================================
--- llvm/trunk/unittests/Support/Path.cpp (original)
+++ llvm/trunk/unittests/Support/Path.cpp Wed Jul 4 14:22:28 2018
@@ -1270,7 +1270,6 @@ TEST_F(FileSystemTest, OpenFileForRead)
::close(FileDescriptor);
// Open the file and ensure access time is updated, when forced.
- bool ForceATime = true;
ASSERT_NO_ERROR(fs::openFileForRead(Twine(TempPath), FileDescriptor,
fs::OF_UpdateAtime, &ResultPath));
More information about the llvm-commits
mailing list