> Does a simple void cast work?  E.g.:
>       (void) strerror_r(...)

I haven't found the magic using that approach.

../../ntpd/nts.c:214:16: warning: ignoring return value of ‘strerror_r’, 
declared with attribute warn_unused_result [-Wunused-result]
         (void) strerror_r(errno, errbuf, sizeof(errbuf));
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


-- 
These are my opinions.  I hate spam.



_______________________________________________
devel mailing list
devel@ntpsec.org
http://lists.ntpsec.org/mailman/listinfo/devel

Reply via email to