Page MenuHomeFreeBSD

sys/riscv/riscv/machdep.c: Remove unused variable "code"
ClosedPublic

Authored by sbruno on Jul 3 2018, 4:15 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Oct 17, 2:07 AM
Unknown Object (File)
Fri, Oct 17, 2:07 AM
Unknown Object (File)
Fri, Oct 17, 2:07 AM
Unknown Object (File)
Thu, Oct 16, 5:06 PM
Unknown Object (File)
Mon, Oct 6, 10:54 PM
Unknown Object (File)
Thu, Oct 2, 10:42 PM
Unknown Object (File)
Sat, Sep 27, 7:54 PM
Unknown Object (File)
Sep 8 2025, 6:15 AM
Subscribers

Details

Summary

gcc found that "code" isn't used but is assigned
a value. I'm unsure if the variable is supposed to be used
for a restore of ksi->ksi_code, but right now its just not
being used.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 17817
Build 17591: arc lint + arc unit