HomeFreeBSD

MFC r311012

Description

MFC r311012
Remove some uses of the GCC __nonnull() attribute.

While the checks are considered useful, the attribute does dangerous
optimizations, removing NULL checks where they can be needed. Remove the
uses of this attribute introduced in r281130: the changes were inspired on
Google's bionic where this attribute is not used anymore.

In general, the __nonnull() attribute has fulfilled its roll and will be
replaced with the Clang _Nonnull qualifier in the future.

Details

Provenance
pfgAuthored on
Parents
rS311233: Fix Coverity issues
Branches
Unknown
Tags
Unknown