Skip to content
This repository has been archived by the owner on Jan 14, 2021. It is now read-only.

Commit

Permalink
Fix var parameter deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
argon committed Mar 24, 2016
1 parent c9af4f6 commit 130b42b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion SwiftGifCommon/UIImage+Gif.swift
Expand Up @@ -84,7 +84,9 @@ extension UIImage {
return delay
}

class func gcdForPair(var a: Int?, var _ b: Int?) -> Int {
class func gcdForPair(a: Int?, _ b: Int?) -> Int {
var a = a
var b = b
// Check if one of them is nil
if b == nil || a == nil {
if b != nil {
Expand Down

0 comments on commit 130b42b

Please sign in to comment.