mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-10 18:10:00 -04:00
silence compiler warning
This commit is contained in:
parent
08670a0649
commit
0831e2f4bd
1 changed files with 6 additions and 1 deletions
|
|
@ -16,7 +16,7 @@
|
|||
*/
|
||||
|
||||
#ifndef lint
|
||||
static const char rcsid[] = "$Id: ns_parse.c,v 1.6 2005/04/27 04:56:40 sra Exp $";
|
||||
static const char rcsid[] = "$Id: ns_parse.c,v 1.7 2005/08/12 01:32:01 marka Exp $";
|
||||
#endif
|
||||
|
||||
/* Import. */
|
||||
|
|
@ -40,7 +40,12 @@ static void setsection(ns_msg *msg, ns_sect sect);
|
|||
|
||||
/* Macros. */
|
||||
|
||||
#ifndef SOLARIS2
|
||||
#define RETERR(err) do { errno = (err); return (-1); } while (0)
|
||||
#else
|
||||
#define RETERR(err) \
|
||||
do { errno = (err); if (errno == errno) return (-1); } while (0)
|
||||
#endif
|
||||
|
||||
/* Public. */
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue