HomeFreeBSD

tftpd: Satisfy clang-analyzer.

Description

tftpd: Satisfy clang-analyzer.

  • Replace random() with arc4random().
  • Change some variable types.
  • Drop some unused assignments.

MFC after: 3 days
Sponsored by: Klara, Inc.
Reviewed by: imp, markj
Differential Revision: https://reviews.freebsd.org/D45132

Details

Provenance
desAuthored on May 10 2024, 9:15 PM
Reviewer
imp
Differential Revision
D45132: tftpd: Satisfy clang-analyzer.
Parents
rGae285a8cbf12: tftpd: Add missing include.
Branches
Unknown
Tags
Unknown