Couple of warnings compiling chrony on macOS after git pull

gcc -O2 -g -Wmissing-prototypes -Wall -pthread  -c ntp_core.c
ntp_core.c:1520:21: warning: comparison of unsigned enum expression < 0 is 
always false [-Wtautological-compare]
  if (sample_rx_tss < 0 || sample_rx_tss >= sizeof (tss_chars) ||
      ~~~~~~~~~~~~~ ^ ~
ntp_core.c:1521:29: warning: comparison of unsigned enum expression < 0 is 
always false [-Wtautological-compare]
      inst->local_tx.source < 0 || inst->local_tx.source >= sizeof (tss_chars))

-- 
Bryan Christianson
br...@whatroute.net




--
To unsubscribe email chrony-dev-requ...@chrony.tuxfamily.org with "unsubscribe" 
in the subject.
For help email chrony-dev-requ...@chrony.tuxfamily.org with "help" in the 
subject.
Trouble?  Email listmas...@chrony.tuxfamily.org.

Reply via email to