From 1b73b60e7dab81d82738e96d7b51c8376ac4394c Mon Sep 17 00:00:00 2001 From: djm Date: Wed, 8 Aug 2007 04:28:26 +0000 Subject: [PATCH] - ray@cvs.openbsd.org 2007/07/12 05:48:05 [key.c] Delint: remove some unreachable statements, from Bret Lambert. OK markus@ and dtucker@. --- ChangeLog | 7 +++++++ key.c | 4 +--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 594bd478..8301b29a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +20070808 + - (djm) OpenBSD CVS Sync + - ray@cvs.openbsd.org 2007/07/12 05:48:05 + [key.c] + Delint: remove some unreachable statements, from Bret Lambert. + OK markus@ and dtucker@. + 20070724 - (tim) [openssh.xml.in] make FMRI match what package scripts use. - (tim) [openbsd-compat/regress/closefromtest.c] Bug 1345: fix open() call. diff --git a/key.c b/key.c index 93b2d41f..8fef9b40 100644 --- a/key.c +++ b/key.c @@ -1,4 +1,4 @@ -/* $OpenBSD: key.c,v 1.68 2006/11/06 21:25:28 markus Exp $ */ +/* $OpenBSD: key.c,v 1.69 2007/07/12 05:48:05 ray Exp $ */ /* * read_bignum(): * Copyright (c) 1995 Tatu Ylonen , Espoo, Finland @@ -170,9 +170,7 @@ key_equal(const Key *a, const Key *b) BN_cmp(a->dsa->pub_key, b->dsa->pub_key) == 0; default: fatal("key_equal: bad key type %d", a->type); - break; } - return 0; } u_char* -- 2.45.1