From 4fa03f6931002cf58a2ebc3ad303d6830361615c Mon Sep 17 00:00:00 2001 From: Timofey Solomko Date: Wed, 3 May 2017 23:07:58 +0300 Subject: [PATCH] Swiftlinted. --- Sources/BZip2.swift | 2 +- Sources/LZMADecoder.swift | 1 - Tests/Bzip2Tests.swift | 1 - Tests/GzipTests.swift | 1 - 4 files changed, 1 insertion(+), 4 deletions(-) diff --git a/Sources/BZip2.swift b/Sources/BZip2.swift index d0304ee8..eb7e52e9 100644 --- a/Sources/BZip2.swift +++ b/Sources/BZip2.swift @@ -103,7 +103,7 @@ public final class BZip2: DecompressionAlgorithm { throw BZip2Error.WrongBlockType } } - + return out } diff --git a/Sources/LZMADecoder.swift b/Sources/LZMADecoder.swift index 26bdc414..d393a8b2 100644 --- a/Sources/LZMADecoder.swift +++ b/Sources/LZMADecoder.swift @@ -74,7 +74,6 @@ final class LZMADecoder { private var dictStart = 0 private var dictEnd = 0 - init(_ pointerData: inout DataWithPointer, _ lc: UInt8, _ pb: UInt8, _ lp: UInt8, _ dictionarySize: Int) throws { self.pointerData = pointerData diff --git a/Tests/Bzip2Tests.swift b/Tests/Bzip2Tests.swift index 8dcf213c..ea027a84 100644 --- a/Tests/Bzip2Tests.swift +++ b/Tests/Bzip2Tests.swift @@ -76,5 +76,4 @@ class Bzip2Tests: XCTestCase { self.perform(test: "test9") } - } diff --git a/Tests/GzipTests.swift b/Tests/GzipTests.swift index 3fd2cdd8..a77f2eee 100644 --- a/Tests/GzipTests.swift +++ b/Tests/GzipTests.swift @@ -110,5 +110,4 @@ class GzipTests: XCTestCase { self.unarchive(test: "test9") } - }