commit | 65b1fa6b0765af2a2129992ecb1b6bd569494986 | [log] [tgz] |
---|---|---|
author | Simon Butcher <simon.butcher@arm.com> | Mon May 23 23:18:26 2016 +0100 |
committer | Simon Butcher <simon.butcher@arm.com> | Mon May 23 23:18:26 2016 +0100 |
tree | 131664ff08f9a8865890812166e03998399dbdfc | |
parent | 768594d772c114d6ca47063d822cb3805014b7ef [diff] [blame] |
Fixes warnings found by Clang static analyser Also removes annotations in the code to avoid warnings which don't appear to be needed.
diff --git a/library/havege.c b/library/havege.c index 7623bc0..2b75ef7 100644 --- a/library/havege.c +++ b/library/havege.c
@@ -174,6 +174,8 @@ PTX = U1 = 0; PTY = U2 = 0; + (void)PTX; + memset( RES, 0, sizeof( RES ) ); while( n < MBEDTLS_HAVEGE_COLLECT_SIZE * 4 )