Page MenuHomeFreeBSD

fsx: fix build with WARNS=6
ClosedPublic

Authored by asomers on Sep 21 2020, 5:41 PM.

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
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.