Re: What's the best way to fix warnings from unused result

2019-04-08 Thread Eric S. Raymond via devel
Fred Wright via devel : > > This is probably what you want: > > > > ./include/ntp_stdlib.h:162:#define IGNORE(r) do{if(r){}}while(0) > > Does a simple void cast work? E.g.: > > (void) strerror_r(...) > > It certainly works for unused function arguments, and it's an actual > official

Re: switch missing default case

2019-04-08 Thread Hal Murray via devel
Gary said: > I fixed the libjsmn missing default one. Thanks. And thanks to whomever fixed the MacOS glitch. -- These are my opinions. I hate spam. ___ devel mailing list devel@ntpsec.org http://lists.ntpsec.org/mailman/listinfo/devel

Re: switch missing default case

2019-04-08 Thread Gary E. Miller via devel
Yo Hal! On Sun, 07 Apr 2019 21:08:44 -0700 Hal Murray via devel wrote: > > I'm unaware of any we can't fix, except the bison one. > > There are several others. > > From old CentOS: > From NetBSD on a Raspbery Pi: > From old (but still supported) NetBSD: Don't have insight on those OS. I