From d4987366202581fdea2825fe1d4aebc84bf21e74 Mon Sep 17 00:00:00 2001 From: bamwu Date: Sat, 27 Jun 2020 03:22:15 -0400 Subject: [PATCH] fixed compiler warning about block declarations with no arguments --- MacGap/Classes/Commands/Defaults.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MacGap/Classes/Commands/Defaults.m b/MacGap/Classes/Commands/Defaults.m index 2d49832..d109c08 100644 --- a/MacGap/Classes/Commands/Defaults.m +++ b/MacGap/Classes/Commands/Defaults.m @@ -11,8 +11,8 @@ #import "Event.h" #import "JSON.h" -typedef id (^ReturnType)(); -typedef void (^SetType)(); +typedef id (^ReturnType)(void); +typedef void (^SetType)(void); @interface Defaults () - (NSString*) addPrefix:(NSString*)key;