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)
Sat, Jun 6, 3:46 PM
Unknown Object (File)
Apr 30 2026, 3:20 AM
Unknown Object (File)
Apr 28 2026, 5:17 AM
Unknown Object (File)
Apr 27 2026, 5:11 AM
Unknown Object (File)
Apr 25 2026, 9:03 PM
Unknown Object (File)
Apr 22 2026, 6:48 PM
Unknown Object (File)
Apr 22 2026, 3:12 AM
Unknown Object (File)
Apr 22 2026, 3:06 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 Not Applicable
Unit
Tests Not Applicable