Commit 120f324b authored by Felix Paul Kühne's avatar Felix Paul Kühne
Browse files

macosx: fix uninitialized block argument

parent 1e03d064
......@@ -28,7 +28,8 @@
enum ResumeResult {
RESUME_RESTART,
RESUME_NOW
RESUME_NOW,
RESUME_FAIL
};
typedef void(^CompletionBlock)(enum ResumeResult);
......
......@@ -99,7 +99,7 @@
- (IBAction)buttonClicked:(id)sender
{
enum ResumeResult resumeResult;
enum ResumeResult resumeResult = RESUME_FAIL;
if (sender == o_restart_btn)
resumeResult = RESUME_RESTART;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment