From 87dd5f2804a93010e289b1cbf53916688ddc1bc8 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Fri, 11 Jul 2008 17:35:09 +1000 Subject: [PATCH] - stevesk@cvs.openbsd.org 2008/07/07 23:32:51 [key.c] /*NOTREACHED*/ for lint warning: warning: function key_equal falls off bottom without returning value ok djm@ --- ChangeLog | 7 ++++++- key.c | 3 ++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5c451e20a..ae8efacae 100644 --- a/ChangeLog +++ b/ChangeLog @@ -4,6 +4,11 @@ [ttymodes.c] we don't need arg after the debug3() was removed. from lint. ok djm@ + - stevesk@cvs.openbsd.org 2008/07/07 23:32:51 + [key.c] + /*NOTREACHED*/ for lint warning: + warning: function key_equal falls off bottom without returning value + ok djm@ 20080709 - (djm) [Makefile.in] Print "all tests passed" when all regress tests pass @@ -4610,4 +4615,4 @@ OpenServer 6 and add osr5bigcrypt support so when someone migrates passwords between UnixWare and OpenServer they will still work. OK dtucker@ -$Id: ChangeLog,v 1.5070 2008/07/11 07:34:35 djm Exp $ +$Id: ChangeLog,v 1.5071 2008/07/11 07:35:09 djm Exp $ diff --git a/key.c b/key.c index 515103cb4..2ea13d27d 100644 --- a/key.c +++ b/key.c @@ -1,4 +1,4 @@ -/* $OpenBSD: key.c,v 1.77 2008/06/25 11:13:43 otto Exp $ */ +/* $OpenBSD: key.c,v 1.78 2008/07/07 23:32:51 stevesk Exp $ */ /* * read_bignum(): * Copyright (c) 1995 Tatu Ylonen , Espoo, Finland @@ -174,6 +174,7 @@ key_equal(const Key *a, const Key *b) default: fatal("key_equal: bad key type %d", a->type); } + /* NOTREACHED */ } u_char*