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, Jan 18, 5:42 PM
Unknown Object (File)
Fri, Dec 27, 10:27 PM
Unknown Object (File)
Thu, Dec 26, 1:23 PM
Unknown Object (File)
Nov 25 2024, 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
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