Title: [278433] branches/safari-611.3.6.1-branch/Source/WTF
Revision
278433
Author
rubent...@apple.com
Date
2021-06-03 17:14:52 -0700 (Thu, 03 Jun 2021)

Log Message

Cherry-pick r278431. rdar://problem/78843971

    Unreviewed build fix after r277881.

    Fix warning about unused function.

    * wtf/cocoa/FileSystemCocoa.mm:

    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@278431 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Modified Paths

Diff

Modified: branches/safari-611.3.6.1-branch/Source/WTF/ChangeLog (278432 => 278433)


--- branches/safari-611.3.6.1-branch/Source/WTF/ChangeLog	2021-06-04 00:06:03 UTC (rev 278432)
+++ branches/safari-611.3.6.1-branch/Source/WTF/ChangeLog	2021-06-04 00:14:52 UTC (rev 278433)
@@ -1,3 +1,23 @@
+2021-06-03  Alan Coon  <alanc...@apple.com>
+
+        Cherry-pick r278431. rdar://problem/78843971
+
+    Unreviewed build fix after r277881.
+    
+    Fix warning about unused function.
+    
+    * wtf/cocoa/FileSystemCocoa.mm:
+    
+    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@278431 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+    2021-06-03  Chris Dumez  <cdu...@apple.com>
+
+            Unreviewed build fix after r277881.
+
+            Fix warning about unused function.
+
+            * wtf/cocoa/FileSystemCocoa.mm:
+
 2021-06-01  Alan Coon  <alanc...@apple.com>
 
         Cherry-pick r278321. rdar://problem/78718570

Modified: branches/safari-611.3.6.1-branch/Source/WTF/wtf/cocoa/FileSystemCocoa.mm (278432 => 278433)


--- branches/safari-611.3.6.1-branch/Source/WTF/wtf/cocoa/FileSystemCocoa.mm	2021-06-04 00:06:03 UTC (rev 278432)
+++ branches/safari-611.3.6.1-branch/Source/WTF/wtf/cocoa/FileSystemCocoa.mm	2021-06-04 00:14:52 UTC (rev 278433)
@@ -184,6 +184,7 @@
     return [[NSFileManager defaultManager] removeItemAtPath:path error:nil];
 }
 
+#ifdef IOPOL_TYPE_VFS_MATERIALIZE_DATALESS_FILES
 static int toIOPolicyScope(PolicyScope scope)
 {
     switch (scope) {
@@ -193,6 +194,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