Mark clang false positives

This commit is contained in:
Frank Denis 2013-07-07 18:57:09 -07:00
parent cdbbe47ed9
commit 34fe1205ac
2 changed files with 2 additions and 2 deletions

View File

@ -128,7 +128,7 @@ int crypto_stream_afternm(unsigned char *outp, unsigned long long len, const uns
if(lensav == 0) goto end;
b = blp[0];
b = blp[0]; /* clang false positive */
*(unsigned char *)(outp + 0) = b;
blp += 1;

View File

@ -139,7 +139,7 @@ int crypto_stream_xor_afternm(unsigned char *outp, const unsigned char *inp, uns
if(lensav == 0) goto end;
b = blp[0];
b = blp[0]; /* clang false positive */
b ^= *(unsigned char *)(inp + 0);
*(unsigned char *)(outp + 0) = b;