Browse Source

Merge pull request #1393 from onevcat/fix/issue-1392

Remove unused variable
Wei Wang 6 years ago
parent
commit
9bb1382621
1 changed files with 0 additions and 1 deletions
  1. 0 1
      Sources/Image/ImageDrawing.swift

+ 0 - 1
Sources/Image/ImageDrawing.swift

@@ -281,7 +281,6 @@ extension KingfisherWrapper where Base: KFCrossPlatformImage {
         
         let w = Int(size.width)
         let h = Int(size.height)
-        let rowBytes = Int(CGFloat(cgImage.bytesPerRow))
         
         func createEffectBuffer(_ context: CGContext) -> vImage_Buffer {
             let data = context.data