Page MenuHomeFreeBSD

fsx: fix build with WARNS=6
ClosedPublic

Authored by asomers on Sep 21 2020, 5:41 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 25, 7:50 AM
Unknown Object (File)
Sep 30 2024, 5:13 PM
Unknown Object (File)
Sep 28 2024, 4:33 AM
Unknown Object (File)
Sep 24 2024, 8:52 AM
Unknown Object (File)
Sep 24 2024, 4:14 AM
Unknown Object (File)
Sep 20 2024, 12:55 PM
Unknown Object (File)
Sep 18 2024, 3:46 PM
Unknown Object (File)
Sep 5 2024, 6:09 PM
Subscribers

Details

Summary

fsx: fix build with WARNS=6

  • signed/unsigned comparisons
  • use standard warn(3)
  • Suppress warnings about local vars and funcs not declared static
  • const-correctness
  • declaration shadows a variable in the global scope

Diff Detail

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