]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
upstream commit
authordtucker@openbsd.org <dtucker@openbsd.org>
Fri, 10 Mar 2017 04:11:00 +0000 (04:11 +0000)
committerDamien Miller <djm@mindrot.org>
Fri, 10 Mar 2017 04:35:39 +0000 (15:35 +1100)
Remove old null check from config dumper.  Patch from
jjelen at redhat.com vi bz#2687, ok djm@

Upstream-ID: 824ab71467b78c4bab0dd1b3a38e8bc5f63dd528

servconf.c

index 2f8e29d4c1a4ed164046b4b85ffdbedbc5fd0bd5..725886e8c686221ce5d0c5ea18912ab1675b5bf0 100644 (file)
@@ -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
@@ -2159,8 +2159,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);
 }