Page MenuHomeFreeBSD

Silence CLANG warning with unused variable.
ClosedPublic

Authored by araujo on May 31 2015, 4:25 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Feb 14, 7:48 AM
Unknown Object (File)
Sat, Feb 14, 7:36 AM
Unknown Object (File)
Sat, Feb 14, 7:36 AM
Unknown Object (File)
Mon, Feb 2, 1:11 AM
Unknown Object (File)
Oct 22 2025, 9:28 PM
Unknown Object (File)
Oct 22 2025, 9:28 PM
Unknown Object (File)
Oct 22 2025, 9:28 PM
Unknown Object (File)
Oct 22 2025, 9:28 PM
Subscribers

Details

Summary

The variable oldnumdevs seemed not to be used, to don't remove it right now, set macro __unused to silence the compiler warning.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

araujo retitled this revision from to Silence CLANG warning with unused variable..
araujo updated this object.
araujo edited the test plan for this revision. (Show Details)

Instead to use __unused, seems safe to remove this variable.

rodrigc edited edge metadata.
This revision is now accepted and ready to land.May 31 2015, 4:19 PM
This revision was automatically updated to reflect the committed changes.