Skip to content
Browse files

Added double parens to stop LLVM from complaining

  • Loading branch information...
1 parent 8a90404 commit 070af1c5f5804853490de8c0d7798e4fee3831ba @agrberg agrberg committed Apr 15, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 GKAchievementNotification.m
View
4 GKAchievementNotification.m
@@ -67,7 +67,7 @@ - (id)initWithAchievementDescription:(GKAchievementDescription *)achievement
{
CGRect frame = kGKAchievementDefaultSize;
self.achievement = achievement;
- if (self = [self initWithFrame:frame])
+ if ((self = [self initWithFrame:frame]))
{
}
return self;
@@ -78,7 +78,7 @@ - (id)initWithTitle:(NSString *)title andMessage:(NSString *)message
CGRect frame = kGKAchievementDefaultSize;
self.title = title;
self.message = message;
- if (self = [self initWithFrame:frame])
+ if ((self == [self initWithFrame:frame]))
{
}
return self;

0 comments on commit 070af1c

Please sign in to comment.
Something went wrong with that request. Please try again.