Re: [chrony-dev] Compile warnings on macOS |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-dev Archives
]
On Thu, Dec 08, 2016 at 07:53:16PM +1300, Bryan Christianson wrote:
> Couple of warnings compiling chrony on macOS after git pull
Thanks, I'll fix this.
> 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))
--
Miroslav Lichvar
--
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.