Page MenuHomeFreeBSD

Remove unused variable and set macro __unused to another.
ClosedPublic

Authored by araujo on May 31 2015, 5:32 AM.
Tags
None
Referenced Files
F135000242: D2687.id.diff
Wed, Nov 5, 6:09 PM
F135000209: D2687.id5822.diff
Wed, Nov 5, 6:08 PM
F135000208: D2687.id5989.diff
Wed, Nov 5, 6:08 PM
F135000204: D2687.id6412.diff
Wed, Nov 5, 6:08 PM
F134988536: D2687.diff
Wed, Nov 5, 3:58 PM
Unknown Object (File)
Sat, Nov 1, 3:03 AM
Unknown Object (File)
Sat, Oct 25, 11:15 PM
Unknown Object (File)
Sat, Oct 18, 5:54 AM
Subscribers

Details

Summary

Remove unused variable and silence the CLANG warning for variable dummy. Also remove some weird new blank lines.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage

Event Timeline

araujo retitled this revision from to Remove unused variable and set macro __unused to another..
araujo updated this object.
araujo edited the test plan for this revision. (Show Details)
araujo added reviewers: rodrigc, hselasky.

I wouldn't bother with __unused, and just take the dummy variable
out entirely.
I would confirm with @hselasky just to make sure.

Looks good.

I think we should simply "(void)" cast the unused function return values, and remove the __unused altogether.

--HPS

araujo edited edge metadata.

Remove the __unused dummy variable and cast the function with void.

This revision is now accepted and ready to land.Jun 17 2015, 6:54 AM
This revision was automatically updated to reflect the committed changes.