From d012000725148b729c5113ca5a0485ba9f1e41b6 Mon Sep 17 00:00:00 2001 From: Francesco Paolo Severino Date: Sun, 22 Sep 2024 12:37:27 +0200 Subject: [PATCH] Remove print statements --- Sources/Zip/Zip.swift | 3 --- 1 file changed, 3 deletions(-) diff --git a/Sources/Zip/Zip.swift b/Sources/Zip/Zip.swift index 327c1553..1cf84a84 100644 --- a/Sources/Zip/Zip.swift +++ b/Sources/Zip/Zip.swift @@ -249,7 +249,6 @@ public class Zip { _ = FileManager.default.fileExists(atPath: filePath, isDirectory: &isDirectory) if !isDirectory.boolValue { guard let input = fopen(filePath, "r") else { - print("XXXXXXXXXXXXXXXXX - 1") throw ZipError.zipFail } defer { fclose(input) } @@ -262,7 +261,6 @@ public class Zip { } } catch {} guard let buffer = malloc(chunkSize) else { - print("XXXXXXXXXXXXXXXXX - 2") throw ZipError.zipFail } if let password, let fileName { @@ -280,7 +278,6 @@ public class Zip { nil, 0 ) } else { - print("XXXXXXXXXXXXXXXXX - 3") throw ZipError.zipFail } var length: Int = 0