Page MenuHomeFreeBSD

kyua: Don't pass NULL to unique_ptr constructors
ClosedPublic

Authored by jhb on Wed, Apr 30, 4:57 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, May 6, 1:40 AM
Unknown Object (File)
Mon, May 5, 10:35 AM
Unknown Object (File)
Mon, May 5, 10:29 AM
Unknown Object (File)
Mon, May 5, 9:41 AM
Unknown Object (File)
Mon, May 5, 9:34 AM
Unknown Object (File)
Sat, May 3, 6:21 PM
Subscribers

Details

Summary

This is ambiguous when NULL is defined to an integral constant.
Instead, use the more iodiomatic pattern of {} to construct a default
pointer.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 63805
Build 60689: arc lint + arc unit