Skip to content

Commit

Permalink
Minor improvement to silent a static analyzer warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismiles committed Jan 23, 2012
1 parent ddefc6d commit a57d2ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMPopTipView/CMPopTipView.m
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ - (void)presentPointingAtView:(UIView *)targetView inView:(UIView *)containerVie
}
}

CGSize textSize;
CGSize textSize = CGSizeZero;

if (self.message!=nil) {
textSize= [self.message sizeWithFont:textFont
Expand Down

0 comments on commit a57d2ed

Please sign in to comment.