summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/Support/Path.cpp
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2018-07-04 21:22:28 +0000
committerAaron Ballman <aaron@aaronballman.com>2018-07-04 21:22:28 +0000
commitea9c3f25a7c1726158da197f7f8514f7271aa8b3 (patch)
treecc1165b72c372b95d26a5b6394bd74d7b9cd5e52 /llvm/unittests/Support/Path.cpp
parent0b68096acffe1cb57ea72df7c0be9f8df5cd4ec4 (diff)
downloadbcm5719-llvm-ea9c3f25a7c1726158da197f7f8514f7271aa8b3.tar.gz
bcm5719-llvm-ea9c3f25a7c1726158da197f7f8514f7271aa8b3.zip
Silence an MSVC C4189 warning about a local variable being initialized but not used; NFC.
llvm-svn: 336298
Diffstat (limited to 'llvm/unittests/Support/Path.cpp')
-rw-r--r--llvm/unittests/Support/Path.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/unittests/Support/Path.cpp b/llvm/unittests/Support/Path.cpp
index dcbe94c6715..dc5bfb8c7bd 100644
--- a/llvm/unittests/Support/Path.cpp
+++ b/llvm/unittests/Support/Path.cpp
@@ -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));
OpenPOWER on IntegriCloud