fix warning -Wmaybe-uninitialized

This commit is contained in:
Özgür Kesim 2021-12-23 10:58:48 +01:00
parent 6230de917f
commit 637d8082a7
Signed by: oec
GPG Key ID: 3D76A56D79EDD9D7

View File

@ -232,8 +232,8 @@ TES_read_work (void *cls,
struct TES_Client *client = cls;
char *buf = client->iobuf;
size_t off = 0;
uint16_t msize;
const struct GNUNET_MessageHeader *hdr;
uint16_t msize = 0;
const struct GNUNET_MessageHeader *hdr = NULL;
enum GNUNET_GenericReturnValue ret;
do