HomeFreeBSD

rs: Fix various harmless warnings.

Description

rs: Fix various harmless warnings.

  • Add /* FALLTHROUGH */ comments for intentional fall throughs in getargs().
  • Remove id strings to quiet -Wunused-const-variable warnings from GCC.
  • While here, remove __FBSDID.

Reviewed by: brooks
Differential Revision: https://reviews.freebsd.org/D36830

(cherry picked from commit bb31e1bbf2ade7abd38eb29391e1ba0718723480)

Details

Provenance
jhbAuthored on Oct 5 2022, 11:47 PM
Reviewer
brooks
Differential Revision
D36830: rs: Fix various harmless warnings.
Parents
rG587ab8e01930: msk: Use a void cast to mark values of dummy reads as unused.
Branches
Unknown
Tags
Unknown