Revision: 27960
http://sourceforge.net/p/bibdesk/svn/27960
Author: hofman
Date: 2022-09-29 22:10:49 +0000 (Thu, 29 Sep 2022)
Log Message:
-----------
remove unused function and variables
Modified Paths:
--------------
trunk/bibdesk/BDSKPasswordController.m
trunk/bibdesk/BDSKServerInfo.m
Modified: trunk/bibdesk/BDSKPasswordController.m
===================================================================
--- trunk/bibdesk/BDSKPasswordController.m 2022-09-29 15:09:03 UTC (rev
27959)
+++ trunk/bibdesk/BDSKPasswordController.m 2022-09-29 22:10:49 UTC (rev
27960)
@@ -90,8 +90,6 @@
}
+ (BOOL)addOrModifyPassword:(NSString *)password forKeychainService:(NSString
*)service account:(NSString *)account name:(NSString *)name {
- NSString *passwordString = nil;
- NSData *passwordData = nil;
OSStatus err;
NSMutableDictionary *query = [NSMutableDictionary dictionary];
NSMutableDictionary *attributes = [NSMutableDictionary dictionary];
@@ -165,8 +163,6 @@
}
+ (BOOL)addOrModifyPassword:(NSString *)password forKeychainServer:(NSString
*)server port:(NSInteger)port account:(NSString *)account {
- NSString *passwordString = nil;
- NSData *passwordData = nil;
OSStatus err;
NSMutableDictionary *query = [NSMutableDictionary dictionary];
NSMutableDictionary *attributes = [NSMutableDictionary dictionary];
Modified: trunk/bibdesk/BDSKServerInfo.m
===================================================================
--- trunk/bibdesk/BDSKServerInfo.m 2022-09-29 15:09:03 UTC (rev 27959)
+++ trunk/bibdesk/BDSKServerInfo.m 2022-09-29 22:10:49 UTC (rev 27960)
@@ -331,10 +331,6 @@
return [string
stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet
URLUserAllowedCharacterSet]];
}
-static inline NSString *escapePassword(NSString *string) {
- return [string
stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet
URLPasswordAllowedCharacterSet]];
-}
-
static inline NSString *escapeHost(NSString *string) {
return [string
stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet
URLHostAllowedCharacterSet]];
}
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