init out char array with all members as 0 x2

This commit is contained in:
Alex Murkoff 2024-04-14 17:57:53 +07:00
parent b4ecf724b1
commit 0b24fc0a11

View File

@ -287,7 +287,7 @@ int gzclose _Z_OF((gzFile));
int gzclose(gzFile gz) {
z_stream *strm;
unsigned char out[BUFLEN] = 0;
unsigned char out[BUFLEN] = { 0 };
if (gz == NULL)
return Z_STREAM_ERROR;