mirror_zfs/module/icp/algs
Ubuntu bf01567e4e cppcheck: (error) Uninitialized variable
Resolve the following uninitialized variable warnings.  In practice
these were unreachable due to the goto.  Replacing the goto with a
return resolves the warning and yields more readable code.

[module/icp/algs/modes/ccm.c:892]: (error) Uninitialized variable: ccm_param
[module/icp/algs/modes/ccm.c:893]: (error) Uninitialized variable: ccm_param
[module/icp/algs/modes/gcm.c:564]: (error) Uninitialized variable: gcm_param
[module/icp/algs/modes/gcm.c:565]: (error) Uninitialized variable: gcm_param
[module/icp/algs/modes/gcm.c:599]: (error) Uninitialized variable: gmac_param
[module/icp/algs/modes/gcm.c:600]: (error) Uninitialized variable: gmac_param

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #9732
2020-01-22 13:49:06 -08:00
..
aes Linux 5.0 compat: SIMD compatibility 2020-01-22 13:49:01 -08:00
edonr Update build system and packaging 2018-05-29 16:00:33 -07:00
modes cppcheck: (error) Uninitialized variable 2020-01-22 13:49:06 -08:00
sha1 SPARC optimizations for Encode() 2017-10-12 01:36:16 +08:00
sha2 Encryption patch follow-up 2017-10-11 16:54:48 -04:00
skein Fix typos in modules/icp/ 2020-01-22 13:48:59 -08:00