Title: [278431] trunk/Source/WTF
Revision
278431
Author
cdu...@apple.com
Date
2021-06-03 16:45:43 -0700 (Thu, 03 Jun 2021)

Log Message

Unreviewed build fix after r277881.

Fix warning about unused function.

* wtf/cocoa/FileSystemCocoa.mm:

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (278430 => 278431)


--- trunk/Source/WTF/ChangeLog	2021-06-03 23:44:39 UTC (rev 278430)
+++ trunk/Source/WTF/ChangeLog	2021-06-03 23:45:43 UTC (rev 278431)
@@ -1,3 +1,11 @@
+2021-06-03  Chris Dumez  <cdu...@apple.com>
+
+        Unreviewed build fix after r277881.
+
+        Fix warning about unused function.
+
+        * wtf/cocoa/FileSystemCocoa.mm:
+
 2021-06-03  Michael Catanzaro  <mcatanz...@gnome.org>
 
         REGRESSION(r277744): Broke build on s390x mainframes

Modified: trunk/Source/WTF/wtf/cocoa/FileSystemCocoa.mm (278430 => 278431)


--- trunk/Source/WTF/wtf/cocoa/FileSystemCocoa.mm	2021-06-03 23:44:39 UTC (rev 278430)
+++ trunk/Source/WTF/wtf/cocoa/FileSystemCocoa.mm	2021-06-03 23:45:43 UTC (rev 278431)
@@ -151,6 +151,7 @@
     return [[NSFileManager defaultManager] stringWithFileSystemRepresentation:path.data() length:length];
 }
 
+#ifdef IOPOL_TYPE_VFS_MATERIALIZE_DATALESS_FILES
 static int toIOPolicyScope(PolicyScope scope)
 {
     switch (scope) {
@@ -160,6 +161,7 @@
         return IOPOL_SCOPE_THREAD;
     }
 }
+#endif
 
 bool setAllowsMaterializingDatalessFiles(bool allow, PolicyScope scope)
 {
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to