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)
Mon, Apr 14, 11:32 AM
Unknown Object (File)
Mon, Apr 14, 6:55 AM
Unknown Object (File)
Mon, Apr 14, 12:28 AM
Unknown Object (File)
Sun, Apr 13, 11:29 PM
Unknown Object (File)
Sat, Apr 12, 8:57 AM
Unknown Object (File)
Feb 10 2025, 4:50 AM
Unknown Object (File)
Feb 4 2025, 1:49 PM
Unknown Object (File)
Dec 5 2024, 11:36 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 Not Applicable
Unit
Tests Not Applicable