Page MenuHomeFreeBSD

libvmmapi: Fix warnings and stop overridding WARNS
ClosedPublic

Authored by markj on Jul 26 2021, 4:45 PM.

Details

Summary
  • Avoid shadowing the global optarg.
  • Sprinkle __unused.
  • Cast nitems() to int.
  • Fix sign in vm_copy_setup().

Diff Detail

Repository
R10 FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.