in stubs, return nil instead of an empty string, compatible with GCC

This commit is contained in:
Riccardo Mottola 2019-11-03 23:08:07 +01:00
parent e6a764d7f9
commit e05c53f4b4

View file

@ -26,7 +26,7 @@
NSString *NSFileTypeForHFSTypeCode(NSUInteger hfsFileTypeCode)
{
return @"";
return nil;
}
NSUInteger NSHFSTypeCodeFromFileType(NSString *fileTypeString)
@ -36,6 +36,6 @@ NSUInteger NSHFSTypeCodeFromFileType(NSString *fileTypeString)
NSString *NSHFSTypeOfFile(NSString *fullFilePath)
{
return @"";
return nil;
}