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, Nov 28, 9:35 PM
Unknown Object (File)
Sun, Nov 23, 3:21 PM
Unknown Object (File)
Thu, Nov 20, 4:34 PM
Unknown Object (File)
Thu, Nov 20, 3:56 PM
Unknown Object (File)
Thu, Nov 20, 3:55 PM
Unknown Object (File)
Thu, Nov 20, 3:46 PM
Unknown Object (File)
Mon, Nov 3, 10:30 AM
Unknown Object (File)
Oct 30 2025, 10:16 PM
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