Skip to content

Commit

Permalink
Remove print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
fpseverino committed Sep 22, 2024
1 parent b5a4849 commit d012000
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Sources/Zip/Zip.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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) }
Expand All @@ -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 {
Expand All @@ -280,7 +278,6 @@ public class Zip {
nil, 0
)
} else {
print("XXXXXXXXXXXXXXXXX - 3")
throw ZipError.zipFail
}
var length: Int = 0
Expand Down

0 comments on commit d012000

Please sign in to comment.