Skip to content

Commit

Permalink
fix: variable declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
kjdev committed Jan 15, 2024
1 parent f2197ee commit 944de1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zstd.c
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,6 @@ static ssize_t php_zstd_decomp_read(php_stream *stream, char *buf, size_t count)
#if PHP_VERSION_ID < 70400
static size_t php_zstd_comp_write(php_stream *stream, const char *buf, size_t count)
{
size_t ret = 0;
#else
static ssize_t php_zstd_comp_write(php_stream *stream, const char *buf, size_t count)
{
Expand Down Expand Up @@ -616,6 +615,7 @@ static ssize_t php_zstd_comp_write(php_stream *stream, const char *buf, size_t c
return count;

#else
size_t ret = 0;
size_t x, res;

while(count > 0) {
Expand Down

0 comments on commit 944de1d

Please sign in to comment.