From 637d8082a7bf217225bcd8718ab061e52e4860ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=96zg=C3=BCr=20Kesim?= Date: Thu, 23 Dec 2021 10:58:48 +0100 Subject: [PATCH] fix warning -Wmaybe-uninitialized --- src/util/secmod_common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util/secmod_common.c b/src/util/secmod_common.c index 6f3423869..975bae3f7 100644 --- a/src/util/secmod_common.c +++ b/src/util/secmod_common.c @@ -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