Revision: 27776
http://sourceforge.net/p/bibdesk/svn/27776
Author: hofman
Date: 2022-07-28 14:55:19 +0000 (Thu, 28 Jul 2022)
Log Message:
-----------
no need to initialize and type cast block
Modified Paths:
--------------
trunk/bibdesk/BDSKFormatParser.m
Modified: trunk/bibdesk/BDSKFormatParser.m
===================================================================
--- trunk/bibdesk/BDSKFormatParser.m 2022-07-28 14:30:41 UTC (rev 27775)
+++ trunk/bibdesk/BDSKFormatParser.m 2022-07-28 14:55:19 UTC (rev 27776)
@@ -810,7 +810,7 @@
suffix:uniqueNumber > 0 ? nil : uniqueSuffix]) {
[parsedStr setString:currentStr];
} else {
- NSString *(^validator)(NSString *) = nil;
+ NSString *(^validator)(NSString *);
if (isCiteKey)
validator = ^(NSString *str){ return validCiteKey(str, pub); };
else if (isLocalFile)
@@ -833,7 +833,7 @@
prefix:uniquePrefix
suffix:uniqueSuffix
hash:hash
- validator:(NSString *(^)(NSString
*))validator]];
+ validator:validator]];
}
}
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