Add hack to avoid gcc warnings.
This commit is contained in:
parent
d405a9e1d6
commit
808e7bd9b8
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: tcpdchk.c,v 1.2 1997/10/11 21:41:46 christos Exp $ */
|
/* $NetBSD: tcpdchk.c,v 1.3 1997/10/14 05:17:35 cjs Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* tcpdchk - examine all tcpd access control rules and inetd.conf entries
|
* tcpdchk - examine all tcpd access control rules and inetd.conf entries
|
||||||
|
@ -21,7 +21,7 @@
|
||||||
#if 0
|
#if 0
|
||||||
static char sccsid[] = "@(#) tcpdchk.c 1.7 96/02/11 17:01:34";
|
static char sccsid[] = "@(#) tcpdchk.c 1.7 96/02/11 17:01:34";
|
||||||
#else
|
#else
|
||||||
__RCSID("$NetBSD: tcpdchk.c,v 1.2 1997/10/11 21:41:46 christos Exp $");
|
__RCSID("$NetBSD: tcpdchk.c,v 1.3 1997/10/14 05:17:35 cjs Exp $");
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -208,7 +208,9 @@ struct request_info *request;
|
||||||
int verdict;
|
int verdict;
|
||||||
struct tcpd_context saved_context;
|
struct tcpd_context saved_context;
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
|
/* XXX hack to avoid gcc warnings */
|
||||||
(void) &real_verdict;
|
(void) &real_verdict;
|
||||||
|
(void) &saved_context;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
saved_context = tcpd_context; /* stupid compilers */
|
saved_context = tcpd_context; /* stupid compilers */
|
||||||
|
|
Loading…
Reference in New Issue