Revision: 16765
          http://sourceforge.net/p/skim-app/code/16765
Author:   hofman
Date:     2026-11-01 14:51:39 +0000 (Sun, 01 Nov 2026)
Log Message:
-----------
don't bother saving fileURLToOpen as we will not use it

Modified Paths:
--------------
    trunk/SKBookmark.m

Modified: trunk/SKBookmark.m
===================================================================
--- trunk/SKBookmark.m  2026-10-31 18:14:18 UTC (rev 16764)
+++ trunk/SKBookmark.m  2026-11-01 14:51:39 UTC (rev 16765)
@@ -550,17 +550,10 @@
 }
 
 - (NSURL *)fileURLToOpen {
-    NSURL *fileURL = nil;
-    if (cachedFileURL && [cachedFileURL isEqual:[NSNull null]] == NO) {
-        fileURL = cachedFileURL;
-    } else {
-        fileURL = [alias fileURL];
-        if (cachedFileURL == nil)
-            [self setCachedFileURL:fileURL ?: (id)[NSNull null]];
-        else if (fileURL)
-            cachedFileURL = fileURL;
-    }
-    return fileURL;
+    if (cachedFileURL && [cachedFileURL isEqual:[NSNull null]] == NO)
+        return cachedFileURL;
+    else
+        return [alias fileURL];
 }
 
 - (NSString *)fileDescription {

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to