aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-12-28 21:23:19 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-12-28 21:23:19 +0000
commit0294ba5648d889e48ffee8ddad25944e258940ae (patch)
treeb892ad6579c4f738cc907bf00ce65cf222a7c36e
parentc900243a09095e1ada97fb2e66ec08f68f277959 (diff)
downloadsrc-0294ba5648d889e48ffee8ddad25944e258940ae.tar.gz
src-0294ba5648d889e48ffee8ddad25944e258940ae.zip
Notes
Notes: svn path=/vendor/libc++/dist/; revision=327306 svn path=/vendor/libc++/libc++-trunk-r321545/; revision=327325; tag=vendor/libc++/libc++-trunk-r321545
-rw-r--r--src/experimental/filesystem/operations.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/experimental/filesystem/operations.cpp b/src/experimental/filesystem/operations.cpp
index 1a514545cec5..662fa7b8626a 100644
--- a/src/experimental/filesystem/operations.cpp
+++ b/src/experimental/filesystem/operations.cpp
@@ -512,6 +512,7 @@ using StatT = struct stat;
#if defined(__APPLE__)
TimeSpec extract_mtime(StatT const& st) { return st.st_mtimespec; }
+__attribute__((unused)) // Suppress warning
TimeSpec extract_atime(StatT const& st) { return st.st_atimespec; }
#else
TimeSpec extract_mtime(StatT const& st) { return st.st_mtim; }