HomeFreeBSD

netmap: Fix compiler warnings in tools

Description

netmap: Fix compiler warnings in tools

  • Remove write-only variables, or hide them in cases where their use is conditional or commented out.
  • Check for errors from cmd_apply() in nmreplay.
  • Use ANSI C definitions.

Reviewed by: vmaffione
MFC after: 2 weeks
Sponsored by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D38752

Details

Provenance
markjAuthored on Feb 27 2023, 6:41 PM
Reviewer
vmaffione
Differential Revision
D38752: netmap: Fix compiler warnings in tools
Parents
rG55f35c5398ff: Use 'mixed' links for 'hard' links by default.
Branches
Unknown
Tags
Unknown