mirror of
https://github.com/rkd77/elinks.git
synced 2024-09-28 03:06:20 -04:00
1034: Initialize l in deflate_read to shut up GCC
Avoid this warning: [CC] src/encoding/deflate.o cc1: warnings being treated as errors /home/Kalle/src/elinks-0.12/src/encoding/deflate.c: In function ‘deflate_read’: /home/Kalle/src/elinks-0.12/src/encoding/deflate.c:96: warning: ‘l’ may be used uninitialized in this function
This commit is contained in:
parent
e213a91bad
commit
b9d48ad7e8
@ -93,7 +93,7 @@ deflate_read(struct stream_encoded *stream, unsigned char *buf, int len)
|
||||
{
|
||||
struct deflate_enc_data *data = (struct deflate_enc_data *) stream->data;
|
||||
int err = 0;
|
||||
int l;
|
||||
int l = 0;
|
||||
|
||||
if (!data) return -1;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user