Merge pull request #2482 from SparkiDev/cppcheck_fixes_1

Fixes from using cppcheck tool
This commit is contained in:
toddouska
2019-10-04 14:39:31 -07:00
committed by GitHub
26 changed files with 697 additions and 683 deletions
+2
View File
@@ -104,6 +104,8 @@ static int hashGetHash(wolfssl_TI_Hash *hash, byte* result, word32 algo, word32
#else
(void) hash;
(void) algo;
XMEMSET(h, 0, sizeof(h));
#endif
XMEMCPY(result, h, hsize);