-fix warnings

This commit is contained in:
Christian Grothoff 2021-11-19 17:00:37 +01:00
parent 326110ffe9
commit 7b5eb61370
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC
2 changed files with 0 additions and 2 deletions

View File

@ -417,7 +417,6 @@ more:
if (off < sizeof (struct GNUNET_MessageHeader))
continue;
msize = ntohs (hdr->size);
GNUNET_assert (msize <= sizeof (buf));
if (off < msize)
continue;
switch (ntohs (hdr->type))

View File

@ -271,7 +271,6 @@ TES_read_work (void *cls,
GNUNET_break_op (0);
return GNUNET_SYSERR;
}
GNUNET_assert (msize <= sizeof (client->iobuf));
} while (off < msize);
if (off > msize)