Skip to content

Commit

Permalink
Minor change to shut up the lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Prokop committed Nov 1, 2015
1 parent 9f73733 commit 8c4fe9f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion StarryStars/RatingView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,10 @@ public class RatingView: UIView {
halfImage = UIImage(named: "starBigHalf")!
}

guard let offImage = offImage else { assert(false, "offImage is not set") }
guard let offImage = offImage else {
assert(false, "offImage is not set")
return
}

for var i = 1; i <= starCount; i++ {
let iv = UIImageView(image: offImage)
Expand Down

0 comments on commit 8c4fe9f

Please sign in to comment.