Merge pull request #336 from gnustep/NSObject_issue335

This commit is contained in:
Gregory Casamento 2023-10-10 05:28:26 -04:00 committed by GitHub
commit 9d0887e4d6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2104,12 +2104,6 @@ static id gs_weak_load(id obj)
if (aSelector == 0)
{
if (GSPrivateDefaultsFlag(GSMacOSXCompatible))
{
[NSException raise: NSInvalidArgumentException
format: @"%@ null selector given",
NSStringFromSelector(_cmd)];
}
return NO;
}