[Bug 198437] Fix net/ladvd build with clang 3.6.0
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Mar 8 21:34:13 UTC 2015
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 at FreeBSD.org
Reporter: dim at FreeBSD.org
CC: sten at blinkenlights.nl
Flags: maintainer-feedback?(sten at blinkenlights.nl)
CC: sten at 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.
More information about the freebsd-ports-bugs
mailing list