HomeFreeBSD

MFC r366671:

Description

MFC r366671:

libgssapi: modernize static string array use

Use designated initializers to document positions in the arrays rather
than requiring counting. Use nitems() rather than rolling it by hand to
count elements.

Also, passify a Clang 12 warning about suspcious string concatenation
within an array initializer by adding parentheses.

Reviewed by: emaste
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D26592

Details

Provenance
brooksAuthored on
Reviewer
emaste
Differential Revision
D26592: libgssapi: modernize static string array use
Parents
rS366939: MFC r366731:
Branches
Unknown
Tags
Unknown