diff --git a/MacPass/MPAppDelegate.m b/MacPass/MPAppDelegate.m index 942ca07b..c0c00893 100644 --- a/MacPass/MPAppDelegate.m +++ b/MacPass/MPAppDelegate.m @@ -100,13 +100,8 @@ typedef NS_OPTIONS(NSInteger, MPAppStartupState) { object:nil]; /* We know that we do not use the variable after instantiation */ -#pragma clang diagnostic push -#pragma clang diagnostic ignored "-Wunused-variable" MPDocumentController *documentController = [[MPDocumentController alloc] init]; -#pragma clang diagnostic pop - - - + NSAssert(documentController, @"Custom document controller cannot be nil"); } return self; }