summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@cvs.openbsd.org>2017-03-10 04:11:01 +0000
committerDarren Tucker <dtucker@cvs.openbsd.org>2017-03-10 04:11:01 +0000
commit0d74ecd795e1a22afca664c7a966372ca05cd810 (patch)
treeb963b414a479eb8cf6ca8302a45472bbaf6f4636
parent5eb276cdd02c3530c8dffd97b0061ca1da547084 (diff)
Remove old null check from config dumper. Patch from jjelen at redhat.com
vi bz#2687, ok djm@
-rw-r--r--usr.bin/ssh/servconf.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/ssh/servconf.c b/usr.bin/ssh/servconf.c
index 434b639b430..18ac6fa7ae9 100644
--- a/usr.bin/ssh/servconf.c
+++ b/usr.bin/ssh/servconf.c
@@ -1,5 +1,5 @@
-/* $OpenBSD: servconf.c,v 1.304 2017/02/03 23:01:19 djm Exp $ */
+/* $OpenBSD: servconf.c,v 1.305 2017/03/10 04:11:00 dtucker Exp $ */
/*
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
* All rights reserved
@@ -2107,8 +2107,6 @@ dump_cfg_fmtint(ServerOpCodes code, int val)
static void
dump_cfg_string(ServerOpCodes code, const char *val)
{
- if (val == NULL)
- return;
printf("%s %s\n", lookup_opcode_name(code),
val == NULL ? "none" : val);
}