Merge pull request #60 from congbo/master
get rid of the warning when analysing it
Showing
1 changed file
with
1 additions
and
1 deletions
| @@ -132,7 +132,7 @@ | @@ -132,7 +132,7 @@ | ||
| 132 | _outterCircleRadius - distance * cos(rad)); | 132 | _outterCircleRadius - distance * cos(rad)); |
| 133 | 133 | ||
| 134 | CGRect frame; | 134 | CGRect frame; |
| 135 | - frame.size = CGSizeMake(100, 80); | 135 | + frame = CGRectMake(0, 0, 100, 80); |
| 136 | 136 | ||
| 137 | UILabel *descriptionLabel = [[UILabel alloc] initWithFrame:frame]; | 137 | UILabel *descriptionLabel = [[UILabel alloc] initWithFrame:frame]; |
| 138 | [descriptionLabel setText:titleText]; | 138 | [descriptionLabel setText:titleText]; |
-
Please register or login to post a comment