Revision: 29561
http://sourceforge.net/p/bibdesk/svn/29561
Author: hofman
Date: 2025-09-08 16:38:32 +0000 (Mon, 08 Sep 2025)
Log Message:
-----------
make variable function-static
Modified Paths:
--------------
trunk/bibdesk/BDSKDownloadManager.m
Modified: trunk/bibdesk/BDSKDownloadManager.m
===================================================================
--- trunk/bibdesk/BDSKDownloadManager.m 2025-09-08 16:36:42 UTC (rev 29560)
+++ trunk/bibdesk/BDSKDownloadManager.m 2025-09-08 16:38:32 UTC (rev 29561)
@@ -291,11 +291,10 @@
@synthesize download, uniqueID, URL, fileURL, tempFileURL, status,
suggestedFilename;
@dynamic fileName;
-static NSInteger currentUniqueID = 0;
-
- (instancetype)initWithDownload:(id)aDownload URL:(NSURL *)aURL {
self = [super init];
if (self) {
+ static NSInteger currentUniqueID = 0;
uniqueID = ++currentUniqueID;
URL = aURL;
fileURL = nil;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit