Date: Sun, 08 Mar 2015 21:34:13 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 198437] Fix net/ladvd build with clang 3.6.0 Message-ID: <bug-198437-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198437 Bug ID: 198437 Summary: Fix net/ladvd build with clang 3.6.0 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: dim@FreeBSD.org CC: sten@blinkenlights.nl Flags: maintainer-feedback?(sten@blinkenlights.nl) CC: sten@blinkenlights.nl Created attachment 154040 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=154040&action=edit Remove unnecessary null checks During the exp-run in bug 197395, it was found that net/ladvd gives errors with clang 3.6.0: http://package18.nyi.freebsd.org/data/headamd64PR197395-default/2015-02-11_23h04m51s/logs/errors/ladvd-1.0.4_1.log This error is because ladvd defines a few functions using __attribute__((nonnull)), then proceeds to check the parameters for being NULL anyway. This is silly, so remove the checks. -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-198437-13>