From 1fcdfd76bdea6ca2d52b6e0e74e1a13364870fa6 Mon Sep 17 00:00:00 2001 From: Hakan Olsson Date: Fri, 7 Jun 2002 21:59:23 +0000 Subject: Avoid some gcc3 warnings. From David Krause --- sbin/isakmpd/ike_quick_mode.c | 3 ++- sbin/isakmpd/isakmp_cfg.c | 3 ++- sbin/isakmpd/transport.c | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) (limited to 'sbin') diff --git a/sbin/isakmpd/ike_quick_mode.c b/sbin/isakmpd/ike_quick_mode.c index 51461f392c2..a8030e0d317 100644 --- a/sbin/isakmpd/ike_quick_mode.c +++ b/sbin/isakmpd/ike_quick_mode.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ike_quick_mode.c,v 1.61 2002/06/06 02:15:27 ho Exp $ */ +/* $OpenBSD: ike_quick_mode.c,v 1.62 2002/06/07 21:59:22 ho Exp $ */ /* $EOM: ike_quick_mode.c,v 1.139 2001/01/26 10:43:17 niklas Exp $ */ /* @@ -1651,6 +1651,7 @@ responder_recv_HASH_SA_NONCE (struct message *msg) retval = 0; next_sa: + ; /* XXX gcc3 wants this. */ } if (kep) diff --git a/sbin/isakmpd/isakmp_cfg.c b/sbin/isakmpd/isakmp_cfg.c index e2c9bb8d61c..46f1e8e6b42 100644 --- a/sbin/isakmpd/isakmp_cfg.c +++ b/sbin/isakmpd/isakmp_cfg.c @@ -1,4 +1,4 @@ -/* $OpenBSD: isakmp_cfg.c,v 1.11 2002/06/07 20:26:22 ho Exp $ */ +/* $OpenBSD: isakmp_cfg.c,v 1.12 2002/06/07 21:59:22 ho Exp $ */ /* * Copyright (c) 2001 Niklas Hallqvist. All rights reserved. @@ -833,6 +833,7 @@ cfg_responder_send_ATTR (struct message *msg) break; default: + break; } SET_ISAKMP_ATTR_LENGTH_VALUE (attrp + off, attr->length); } diff --git a/sbin/isakmpd/transport.c b/sbin/isakmpd/transport.c index a178e0327e5..b2441dd5e3a 100644 --- a/sbin/isakmpd/transport.c +++ b/sbin/isakmpd/transport.c @@ -1,4 +1,4 @@ -/* $OpenBSD: transport.c,v 1.16 2001/10/26 11:37:16 ho Exp $ */ +/* $OpenBSD: transport.c,v 1.17 2002/06/07 21:59:22 ho Exp $ */ /* $EOM: transport.c,v 1.43 2000/10/10 12:36:39 provos Exp $ */ /* @@ -37,6 +37,7 @@ #include #include +#include #include "sysdep.h" -- cgit v1.2.3