From d5b5b8f675f687b607282add40e5dc1ba5cc2f35 Mon Sep 17 00:00:00 2001 From: djm Date: Fri, 11 Jul 2008 07:35:09 +0000 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 | 5 +++++ key.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 9f9952fd..b2920660 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 diff --git a/key.c b/key.c index 515103cb..2ea13d27 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* -- 2.45.2