Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/crypto/external/bsd/openssh/dist avoid unused variable warning.



details:   https://anonhg.NetBSD.org/src/rev/e3bc30dcc5e4
branches:  trunk
changeset: 760638:e3bc30dcc5e4
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Jan 09 23:17:36 2011 +0000

description:
avoid unused variable warning.

diffstat:

 crypto/external/bsd/openssh/dist/servconf.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r bde457516bca -r e3bc30dcc5e4 crypto/external/bsd/openssh/dist/servconf.c
--- a/crypto/external/bsd/openssh/dist/servconf.c       Sun Jan 09 22:59:40 2011 +0000
+++ b/crypto/external/bsd/openssh/dist/servconf.c       Sun Jan 09 23:17:36 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: servconf.c,v 1.6 2010/11/22 09:53:01 adam Exp $        */
+/*     $NetBSD: servconf.c,v 1.7 2011/01/09 23:17:36 christos Exp $    */
 /* $OpenBSD: servconf.c,v 1.209 2010/06/22 04:22:59 djm Exp $ */
 /*
  * Copyright (c) 1995 Tatu Ylonen <ylo%cs.hut.fi@localhost>, Espoo, Finland
@@ -12,7 +12,7 @@
  */
 
 #include "includes.h"
-__RCSID("$NetBSD: servconf.c,v 1.6 2010/11/22 09:53:01 adam Exp $");
+__RCSID("$NetBSD: servconf.c,v 1.7 2011/01/09 23:17:36 christos Exp $");
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <sys/queue.h>
@@ -816,7 +816,9 @@
        int cmdline = 0, *intptr, value, n;
        SyslogFacility *log_facility_ptr;
        LogLevel *log_level_ptr;
+#ifdef WITH_LDAP_PUBKEY
        unsigned long lvalue;
+#endif
        time_t *timetptr;
        ServerOpCodes opcode;
        int port = 0;



Home | Main Index | Thread Index | Old Index