diff options
| author | Abdelkader Boudih <seuros@FreeBSD.org> | 2026-08-31 18:15:45 +0000 |
|---|---|---|
| committer | Abdelkader Boudih <seuros@FreeBSD.org> | 2026-08-31 18:15:45 +0000 |
| commit | 4dcb33ebc80d83dfe231ea840d5c861a5ea41c98 (patch) | |
| tree | ffe66ed7c23adf1b72319b660da858053567370f /sys/i386/include/pc | |
| parent | ef03c60246be23e601c4d08bfd2682f51825f18e (diff) | |
In a WITHOUT_INET6 build the only assignment to netid2 is compiled out and
the non-INET6 arm returns early, so netid2 is unconditionally NULL and the
rpcb_set() call guarded by it is dead code. clang does not prove it dead
and reports nbuf2 as uninitialized where it is passed as a const pointer,
No functional change.
MFC after: 1 week
Reported by: clang (-Wuninitialized-const-pointer)
Suggested by: dim
Approved by: ngie (co-mentor)
Reviewed by: ngie
Differential Revision: https://reviews.freebsd.org/D59277
Diffstat (limited to 'sys/i386/include/pc')
0 files changed, 0 insertions, 0 deletions
