]> git.saurik.com Git - apple/security.git/blobdiff - OSX/utilities/debugging.c
Security-59754.80.3.tar.gz
[apple/security.git] / OSX / utilities / debugging.c
index 14695726caae41d80f63d60ed316f2f6321e366d..b0bd2ce1299159ef7cbdfb1e2005d5543461c2fd 100644 (file)
@@ -215,13 +215,6 @@ static int string_to_log_level(CFStringRef string) {
         return -1;
 }
 
-static void CFSetAppendValues(CFSetRef set, CFMutableArrayRef appendTo)
-{
-    CFSetForEach(set, ^(const void *value) {
-        CFArrayAppendValue(appendTo, value);
-    });
-}
-
 static CFMutableArrayRef CFSetOfCFObjectsCopyValues(CFSetRef setOfCFs)
 {
     CFMutableArrayRef result = CFArrayCreateMutableForCFTypes(kCFAllocatorDefault);
@@ -401,18 +394,6 @@ void __security_debug_init(void) {
 }
 
 
-
-
-static char *copyScopeStr(CFStringRef scope, char *alternative) {
-    char *scopeStr = NULL;
-    if(scope) {
-        scopeStr = CFStringToCString(scope);
-    } else {
-        scopeStr = strdup("noScope");
-    }
-    return scopeStr;
-}
-
 os_log_t
 secLogObjForCFScope(CFStringRef scope)
 {