Page MenuHomeFreeBSD

ctfconvert: Handle arrays of empty structs
ClosedPublic

Authored by markj on Dec 30 2021, 3:12 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 4 2025, 10:59 PM
Unknown Object (File)
Nov 17 2025, 5:24 AM
Unknown Object (File)
Nov 17 2025, 5:19 AM
Unknown Object (File)
Oct 29 2025, 1:34 AM
Unknown Object (File)
Oct 22 2025, 4:58 AM
Unknown Object (File)
Oct 18 2025, 1:42 AM
Unknown Object (File)
Oct 15 2025, 4:11 AM
Unknown Object (File)
Oct 12 2025, 11:19 PM
Subscribers

Details

Summary

Members with such a type will legitimately have a size of zero, so don't
emit a warning.

PR: 260818

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

markj requested review of this revision.Dec 30 2021, 3:12 PM
bz added a subscriber: bz.

Sounds good to me; maybe the comment above that block could be enhanced as well but I think it's almost immediately obvious from the code.

This revision is now accepted and ready to land.Dec 30 2021, 5:16 PM
This revision was automatically updated to reflect the committed changes.