HomeFreeBSD

cppcheck: (error) Address of local auto-variable assigned

Description

cppcheck: (error) Address of local auto-variable assigned

Suppress autoVariables warnings in the lua interpreter. The usage
here while unconventional in intentional and the same as upstream.

[module/lua/ldebug.c:327]: (error) Address of local auto-variable

assigned to a function parameter.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #9732

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on Dec 16 2019, 11:53 PM
Parents
rG1e49b288cbb2: cppcheck: (error) Null pointer dereference: who_perm
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG487bddad67f5: cppcheck: (error) Address of local auto-variable assigned (authored by Brian Behlendorf <behlendorf1@llnl.gov>).Dec 19 2019, 1:25 AM