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)
Sat, Mar 29, 6:53 PM
Unknown Object (File)
Fri, Mar 7, 10:05 AM
Unknown Object (File)
Fri, Mar 7, 5:56 AM
Unknown Object (File)
Feb 8 2025, 6:59 PM
Unknown Object (File)
Feb 8 2025, 5:42 PM
Unknown Object (File)
Feb 1 2025, 9:12 AM
Unknown Object (File)
Feb 1 2025, 2:02 AM
Unknown Object (File)
Jan 27 2025, 12:01 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