Skip to content

Commit

Permalink
Remove debug prints
Browse files Browse the repository at this point in the history
  • Loading branch information
fpseverino committed Sep 21, 2024
1 parent c8b266d commit cefe774
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions Sources/CMinizip/unzip.c
Original file line number Diff line number Diff line change
Expand Up @@ -364,8 +364,6 @@ static unzFile unzOpenInternal(const void *path, zlib_filefunc64_32_def *pzlib_f

us.filestream = ZOPEN64(us.z_filefunc, path, ZLIB_FILEFUNC_MODE_READ | ZLIB_FILEFUNC_MODE_EXISTING);

if (us.filestream == NULL)
puts("us.filestream is NULL");
if (us.filestream == NULL)
return NULL;

Expand Down Expand Up @@ -470,7 +468,6 @@ static unzFile unzOpenInternal(const void *path, zlib_filefunc64_32_def *pzlib_f
if (err != UNZ_OK)
{
ZCLOSE64(us.z_filefunc, us.filestream);
puts("err != UNZ_OK");
return NULL;
}

Expand Down
1 change: 0 additions & 1 deletion Sources/Zip/Zip.swift
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ public class Zip {
let zip = unzOpen64(path)
defer { unzClose(zip) }
if unzGoToFirstFile(zip) != UNZ_OK {
print("XXXXXXXXXXXXX - 1")
throw ZipError.unzipFail
}
repeat {
Expand Down

0 comments on commit cefe774

Please sign in to comment.