Purposely tell the compiler that we ignore the return value of ADDCARRY()
in the REDUCE macro. Reviewed by: dim, rdivacky
This commit is contained in:
parent
c42a2be28f
commit
4c88812572
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=213766
@ -78,7 +78,7 @@ __FBSDID("$FreeBSD$");
|
||||
*/
|
||||
|
||||
#define ADDCARRY(x) (x > 65535 ? x -= 65535 : x)
|
||||
#define REDUCE {l_util.l = sum; sum = l_util.s[0] + l_util.s[1]; ADDCARRY(sum);}
|
||||
#define REDUCE {l_util.l = sum; sum = l_util.s[0] + l_util.s[1]; (void)ADDCARRY(sum);}
|
||||
|
||||
/*
|
||||
* m MUST contain a continuous IP6 header.
|
||||
|
Loading…
Reference in New Issue
Block a user