From 05f0db765717bdee863524158cc279958f52b931 Mon Sep 17 00:00:00 2001 From: inoguchi Date: Sun, 7 Jan 2018 08:43:26 +0000 Subject: [PATCH] Remove unused extern variable in openssl(1) s_time This extern variable appears not to be used. And it is overridden by local variable in doConnection(). This causes MSVC warning C4459 "declaration of 'verify_error' hides global declaration". OK millert@ --- usr.bin/openssl/s_time.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/usr.bin/openssl/s_time.c b/usr.bin/openssl/s_time.c index 75009f86175..320380552b5 100644 --- a/usr.bin/openssl/s_time.c +++ b/usr.bin/openssl/s_time.c @@ -1,4 +1,4 @@ -/* $OpenBSD: s_time.c,v 1.19 2017/12/05 15:02:06 jca Exp $ */ +/* $OpenBSD: s_time.c,v 1.20 2018/01/07 08:43:26 inoguchi Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -88,7 +88,6 @@ #define SECONDS 30 extern int verify_depth; -extern int verify_error; static void s_time_usage(void); static SSL *doConnection(SSL * scon); -- 2.20.1