Under some combinations of compiler defines, variables seed and seedSz here
|
word32 seedSz = SEED_SZ + SEED_BLOCK_SZ; |
|
WC_DECLARE_VAR(seed, byte, MAX_SEED_SZ, rng->heap); |
could be defined but not used.
I'm not 100% sure but this can be when CUSTOM_RAND_GENERATE_BLOCK is defined and so this path is taken
|
#ifdef CUSTOM_RAND_GENERATE_BLOCK |
|
ret = 0; /* success */ |
|
#else |
I found this warning while testing https://github.com/danielinux/m33mu with its default configs
Under some combinations of compiler defines, variables
seedandseedSzherewolfssl/wolfcrypt/src/random.c
Lines 1722 to 1723 in 145a4fa
could be defined but not used.
I'm not 100% sure but this can be when
CUSTOM_RAND_GENERATE_BLOCKis defined and so this path is takenwolfssl/wolfcrypt/src/random.c
Lines 1850 to 1852 in 145a4fa
I found this warning while testing https://github.com/danielinux/m33mu with its default configs