[Swan-commit] Changes to ref refs/heads/master
D. Hugh Redelmeier
hugh at vault.libreswan.fi
Fri Apr 25 10:10:39 EEST 2014
New commits:
commit 85d57465024644151156cae6bae6cb2abfddc1ee
Author: D. Hugh Redelmeier <hugh at mimosa.com>
Date: Fri Apr 25 03:01:35 2014 -0400
Exploit GCC's attribute warn_unused_result
- wrap the attribute in a macro "MUST_USE_RESULT"
- apply the attribute to all the packet.h functions that can
return a failure indication.
- Fix up the fallout. Sometimes it causes new functions to be marked
with the attribute. Failures will no longer be ignored.
- minor tidying when adjacent problems were noted
- logging change: when padding is suppressed for CheckPoint,
continue logging that, but suppress a second message.
See close_message().
There are other functions that should have this attribute.
More information about the Swan-commit
mailing list