diff options
author | Paul Beusterien <paulbeusterien@google.com> | 2018-01-19 07:45:31 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-19 07:45:31 -0800 |
commit | 6a6e14822fc8c4ec16e9045b23b515b4baad14fd (patch) | |
tree | 179a87468498726c1b74204703db1f1134a3cd23 | |
parent | cda67e4faada421e5d01c48eaaca1352504705fa (diff) |
Fix build warnings by making void parameter explicit (#681)
-rw-r--r-- | Example/Core/Tests/FIRAppAssociationRegistrationUnitTests.m | 2 | ||||
-rw-r--r-- | Example/Core/Tests/FIRLoggerTest.m | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/Example/Core/Tests/FIRAppAssociationRegistrationUnitTests.m b/Example/Core/Tests/FIRAppAssociationRegistrationUnitTests.m index 2bc1de7..60f0651 100644 --- a/Example/Core/Tests/FIRAppAssociationRegistrationUnitTests.m +++ b/Example/Core/Tests/FIRAppAssociationRegistrationUnitTests.m @@ -34,7 +34,7 @@ static NSString *kKey2 = @"key2"; /** @var gCreateNewObject @brief A block that returns a new object everytime it is called. */ -static id _Nullable (^gCreateNewObject)() = ^id _Nullable() { +static id _Nullable (^gCreateNewObject)(void) = ^id _Nullable() { return [[NSObject alloc] init]; }; diff --git a/Example/Core/Tests/FIRLoggerTest.m b/Example/Core/Tests/FIRLoggerTest.m index 70b688a..5cc7465 100644 --- a/Example/Core/Tests/FIRLoggerTest.m +++ b/Example/Core/Tests/FIRLoggerTest.m @@ -28,13 +28,13 @@ extern const char *kFIRLoggerASLClientFacilityName; extern const char *kFIRLoggerCustomASLMessageFormat; -extern void FIRResetLogger(); +extern void FIRResetLogger(void); -extern aslclient getFIRLoggerClient(); +extern aslclient getFIRLoggerClient(void); -extern dispatch_queue_t getFIRClientQueue(); +extern dispatch_queue_t getFIRClientQueue(void); -extern BOOL getFIRLoggerDebugMode(); +extern BOOL getFIRLoggerDebugMode(void); // Define the message format again to make sure the format doesn't accidentally change. static NSString *const kCorrectASLMessageFormat = |