Skip to content

Commit

Permalink
deps: update zlib to 1.3.0.1-motley-4f653ff
Browse files Browse the repository at this point in the history
PR-URL: #53052
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
  • Loading branch information
nodejs-github-bot authored and aduh95 committed Nov 3, 2024
1 parent aaa857f commit 033f1e2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions deps/zlib/google/zip_internal.cc
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ struct ZipBuffer {
// writing compressed data and it returns NULL for this case.)
void* OpenZipBuffer(void* opaque, const void* /*filename*/, int mode) {
if ((mode & ZLIB_FILEFUNC_MODE_READWRITEFILTER) != ZLIB_FILEFUNC_MODE_READ) {
NOTREACHED();
NOTREACHED_IN_MIGRATION();
return NULL;
}
ZipBuffer* buffer = static_cast<ZipBuffer*>(opaque);
Expand Down Expand Up @@ -196,7 +196,7 @@ uLong WriteZipBuffer(void* /*opaque*/,
void* /*stream*/,
const void* /*buf*/,
uLong /*size*/) {
NOTREACHED();
NOTREACHED_IN_MIGRATION();
return 0;
}

Expand Down Expand Up @@ -228,7 +228,7 @@ long SeekZipBuffer(void* opaque,
buffer->offset = std::min(buffer->length, offset);
return 0;
}
NOTREACHED();
NOTREACHED_IN_MIGRATION();
return -1;
}

Expand Down

0 comments on commit 033f1e2

Please sign in to comment.