summaryrefslogtreecommitdiff
path: root/XMPFiles/source/FileHandlers/XDCAMEX_Handler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'XMPFiles/source/FileHandlers/XDCAMEX_Handler.cpp')
-rw-r--r--XMPFiles/source/FileHandlers/XDCAMEX_Handler.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/XMPFiles/source/FileHandlers/XDCAMEX_Handler.cpp b/XMPFiles/source/FileHandlers/XDCAMEX_Handler.cpp
index 826cc0b..74c7c00 100644
--- a/XMPFiles/source/FileHandlers/XDCAMEX_Handler.cpp
+++ b/XMPFiles/source/FileHandlers/XDCAMEX_Handler.cpp
@@ -624,12 +624,18 @@ void XDCAMEX_MetaHandler::GetTakeDuration ( const std::string & takeURI, std::st
std::string takeDir ( takeURI );
takeDir.erase ( 0, 1 ); // Change the leading "//" to "/", then all '/' to kDirChar.
+#if XMP_MacBuild
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wunreachable-code"
+#endif
if ( kDirChar != '/' ) {
for ( size_t i = 0, limit = takeDir.size(); i < limit; ++i ) {
if ( takeDir[i] == '/' ) takeDir[i] = kDirChar;
}
}
-
+#if XMP_MacBuild
+#pragma clang diagnostic pop
+#endif
std::string takePath ( this->rootPath );
takePath += kDirChar;
takePath += "BPAV";