]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
rs: Fix various harmless warnings.
authorJohn Baldwin <jhb@FreeBSD.org>
Wed, 5 Oct 2022 23:47:21 +0000 (16:47 -0700)
committerJohn Baldwin <jhb@FreeBSD.org>
Fri, 11 Nov 2022 18:18:54 +0000 (10:18 -0800)
commit068c9d3de7c95903d7827d18327219d6be02db04
treefa592b00a017cfa5a30b74d25d629cdb2b590f1d
parent587ab8e01930bb7196f55227cec263827165fc3f
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)
usr.bin/rs/rs.c