diff options
author | peter <peter@FreeBSD.org> | 2002-05-24 05:53:57 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2002-05-24 05:53:57 +0000 |
commit | 0b506943e689578be754357f49f132b72419d76b (patch) | |
tree | df68306289434c0403887c7f2dcff78246569c90 /sys/netkey | |
parent | 6fd2a8cc3faad07b03e388cfba8e8dbfd30b1c6f (diff) | |
download | FreeBSD-src-0b506943e689578be754357f49f132b72419d76b.zip FreeBSD-src-0b506943e689578be754357f49f132b72419d76b.tar.gz |
pacify gcc-3.1's -Wunused checking.
Diffstat (limited to 'sys/netkey')
-rw-r--r-- | sys/netkey/key.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/netkey/key.c b/sys/netkey/key.c index 849a91d..a98e4b0 100644 --- a/sys/netkey/key.c +++ b/sys/netkey/key.c @@ -7171,10 +7171,13 @@ key_validate_ext(ext, len) SADB_X_IDENTTYPE_ADDR) { baselen = PFKEY_ALIGN8(sizeof(struct sadb_ident)); checktype = ADDR; - } else + } else { + baselen = 0; /* XXX pacify gcc-3.1 */ checktype = NONE; + } break; default: + baselen = 0; /* XXX pacify gcc-3.1 */ checktype = NONE; break; } |