Page MenuHomeFreeBSD

fsx: fix build with WARNS=6
ClosedPublic

Authored by asomers on Sep 21 2020, 5:41 PM.
Tags
None
Referenced Files
F133141296: D26516.id77310.diff
Thu, Oct 23, 8:15 AM
F133141089: D26516.id.diff
Thu, Oct 23, 8:12 AM
Unknown Object (File)
Sat, Oct 18, 6:55 PM
Unknown Object (File)
Sat, Oct 18, 5:50 PM
Unknown Object (File)
Mon, Oct 13, 4:39 AM
Unknown Object (File)
Mon, Oct 13, 4:39 AM
Unknown Object (File)
Mon, Oct 13, 4:39 AM
Unknown Object (File)
Mon, Oct 13, 3:55 AM
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