From: Haijun Qin Date: Tue, 6 Dec 2022 07:41:37 +0000 (+0800) Subject: lib: rsa: cosmetic: fix building warning X-Git-Tag: baikal/mips/sdk5.8.2~5^2~93^2~20 X-Git-Url: https://git.baikalelectronics.ru/?a=commitdiff_plain;h=7455edc7b3684904603eaeea961140e638ed7ece;p=uboot.git lib: rsa: cosmetic: fix building warning add initialization of variable 'node',this can aviod the building warning: 'node' may be used uninitialized [-Wmaybe-uninitialized] Signed-off-by: Haijun Qin Reviewed-by: Simon Glass --- diff --git a/lib/rsa/rsa-sign.c b/lib/rsa/rsa-sign.c index b2a21199e4..d20bdb58a5 100644 --- a/lib/rsa/rsa-sign.c +++ b/lib/rsa/rsa-sign.c @@ -608,7 +608,7 @@ int rsa_add_verify_data(struct image_sign_info *info, void *keydest) BIGNUM *modulus, *r_squared; uint64_t exponent; uint32_t n0_inv; - int parent, node; + int parent, node = -FDT_ERR_NOTFOUND; char name[100]; int ret; int bits;