[PATCH 1/4] cli: add noreturn attributes

Thomas Haller thaller at redhat.com
Sun Aug 14 01:09:29 PDT 2016


On Mon, 2016-08-08 at 11:58 +0200, Peter Wu wrote:
> Teach static code analyzers (such as Clang static analyzer) that code
> following nl_cli_fatal can never be executed. Avoids false positives
> such as detecting use of NULL pointers when that cannot happen.
> 
> Signed-off-by: Peter Wu <peter at lekensteyn.nl>
> ---
>  include/netlink/cli/utils.h | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
> 

Hi Peter,


applied all 4 patches:

https://github.com/thom311/libnl/commit/9867bc2053efca7366607d2e9ea2b9bb9450dad5


Thanks for the patches!
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/libnl/attachments/20160814/3b4c4a13/attachment.sig>


More information about the libnl mailing list