From: Alan T. DeKok Date: Tue, 19 Apr 2022 18:38:41 +0000 (-0400) Subject: shut up compiler X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d7e619fae35543dcadbfd1c09a5113de53b4177;p=thirdparty%2Ffreeradius-server.git shut up compiler --- diff --git a/src/lib/util/value.c b/src/lib/util/value.c index 4bfede85206..26e900e7824 100644 --- a/src/lib/util/value.c +++ b/src/lib/util/value.c @@ -1709,14 +1709,14 @@ ssize_t fr_value_box_from_network(TALLOC_CTX *ctx, * Or fields with a length prefix. */ if (enumv->flags.subtype == FLAG_LENGTH_UINT8) { - uint8_t num; + uint8_t num = 0; FR_DBUFF_OUT_RETURN(&num, &work_dbuff); newlen = num; offset = 1; } else if (enumv->flags.subtype == FLAG_LENGTH_UINT16) { - uint16_t num; + uint16_t num = 0; FR_DBUFF_OUT_RETURN(&num, &work_dbuff); newlen = num;