From 544600f074b791152373d8e20681ac698e1f398b Mon Sep 17 00:00:00 2001 From: Thomas Van Lenten Date: Fri, 6 Oct 2017 13:14:13 -0400 Subject: Fix error in __Require_noErr_Action naming --- Foundation/GTMNSFileManager+Carbon.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Foundation') diff --git a/Foundation/GTMNSFileManager+Carbon.m b/Foundation/GTMNSFileManager+Carbon.m index 8bd5f69..fc990ae 100644 --- a/Foundation/GTMNSFileManager+Carbon.m +++ b/Foundation/GTMNSFileManager+Carbon.m @@ -91,7 +91,7 @@ CantUseParams: fsRef = (FSRef*)[fsRefData mutableBytes]; Boolean isDir = FALSE; const UInt8 *filePath = (const UInt8 *)[path fileSystemRepresentation]; - __Require_noErr_action(FSPathMakeRef(filePath, fsRef, &isDir), + __Require_noErr_Action(FSPathMakeRef(filePath, fsRef, &isDir), CantMakeRef, fsRef = NULL); CantMakeRef: CantAllocateFSRef: -- cgit v1.2.3