Skip to content

Commit 62dbd21

Browse files
committed
Fix warning, NSError ** is not nil, use thus NULL
1 parent 44a5a18 commit 62dbd21

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Source/fontconfig/FCFontAssetInstaller.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ - (BOOL) installFontPath: (NSString *)fontPath error: (NSError **)error
158158
// Remove existing font file if present
159159
if ([[NSFileManager defaultManager] fileExistsAtPath: destinationPath])
160160
{
161-
[[NSFileManager defaultManager] removeItemAtPath: destinationPath error: nil];
161+
[[NSFileManager defaultManager] removeItemAtPath: destinationPath error: NULL];
162162
}
163163

164164
if (![[NSFileManager defaultManager] copyItemAtPath: fontPath

0 commit comments

Comments
 (0)