Fix warnings

This commit is contained in:
James Magahern
2023-04-19 14:33:17 -07:00
parent 98dfd85781
commit 99bd3af187
4 changed files with 7 additions and 7 deletions

View File

@@ -20,7 +20,7 @@ static void swizzleClassMethod(Class targetClass, SEL originalSelector, IMP repl
}
__attribute__((constructor))
static void swizzleMFMailComposeViewController()
static void swizzleMFMailComposeViewController(void)
{
// Hacks to work around the fact that MFMailComposeViewController is broken in iOS 14+
swizzleClassMethod(MFMailComposeViewController.class, @selector(canSendMail), imp_implementationWithBlock(^BOOL(void) {