HomeFreeBSD

- Delete `ptr` to fix -Wunused-but-set warnings

Description

  • Delete ptr to fix -Wunused-but-set warnings
  • Fix parse_ntp_ts to use saved_errno properly to also mute -Wunused-but-set warnings.
  • Delete a few errant errno = 0 calls after calling strlcpy to let the error cases fail as designed if the strings passed in weren't base 10 numbers.
  • Make style a bit consistent with all blocks where errno is saved to saved_errno.

Reported by: gcc 4.9.4

Details

Provenance
ngieAuthored on
Parents
rS295242: - Fix some broken logic committed in r295191. I should have used MIN, not MAX,
Branches
Unknown
Tags
Unknown