Page MenuHomeFreeBSD

ctfconvert: Handle arrays of empty structs
ClosedPublic

Authored by markj on Dec 30 2021, 3:12 PM.
Tags
None
Referenced Files
F174473874: D33700.id100755.diff
Sat, Oct 3, 12:58 PM
F174469317: D33700.id100791.diff
Sat, Oct 3, 12:14 PM
Unknown Object (File)
Wed, Sep 30, 6:02 AM
Unknown Object (File)
Wed, Sep 23, 2:49 PM
Unknown Object (File)
Thu, Sep 17, 3:40 AM
Unknown Object (File)
Wed, Sep 16, 11:03 PM
Unknown Object (File)
Wed, Sep 16, 10:22 PM
Unknown Object (File)
Tue, Sep 15, 12:41 AM
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.