HomeFreeBSD

makefs: Quiet a -Wdangling-pointer warning in cd9660_generate_path_table

Description

makefs: Quiet a -Wdangling-pointer warning in cd9660_generate_path_table

This function temporarily stores a pointer to an on-stack variable (a
TAILQ_HEAD of a temporary list) into a global variable (*n).

Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D42581

Details

Provenance
jhbAuthored on Nov 15 2023, 2:35 AM
Reviewer
imp
Differential Revision
D42581: makefs: Quiet a -Wdangling-pointer warning in cd9660_generate_path_table
Parents
rGc06962057bed: makefs cd9660: Unexpand a few TAILQ macros
Branches
Unknown
Tags
Unknown