From f014df579a1448b5abde127136ec5dc69d71a75b Mon Sep 17 00:00:00 2001 From: michael starke Date: Tue, 25 Apr 2017 20:05:25 +0200 Subject: [PATCH] simplified isHistory wrapper --- MacPass/KPKNode+MPIsHistory.m | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/MacPass/KPKNode+MPIsHistory.m b/MacPass/KPKNode+MPIsHistory.m index a79f950d..20b63748 100644 --- a/MacPass/KPKNode+MPIsHistory.m +++ b/MacPass/KPKNode+MPIsHistory.m @@ -12,10 +12,8 @@ - (BOOL)isHistory { - if(self.asEntry) { - return self.asEntry.isHistory; - } - return NO; + /* nil call will return NO */ + return self.asEntry.isHistory; } @end