Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build warnings by making void parameter explicit #681

Merged
merged 1 commit into from
Jan 19, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
/** @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];
};

Expand Down
8 changes: 4 additions & 4 deletions Example/Core/Tests/FIRLoggerTest.m
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@

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 =
Expand Down