Source-Changes-HG archive

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

[src/netbsd-1-5]: src/usr.bin/telnet Pull up rev. 1.9:



details:   https://anonhg.NetBSD.org/src/rev/a5aa891c626d
branches:  netbsd-1-5
changeset: 488220:a5aa891c626d
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Thu Jun 22 07:12:36 2000 +0000

description:
Pull up rev. 1.9:
Fix unused variable warning in the non-ENCRYPTION case (e.g. when
built at tn3270(1)).

diffstat:

 usr.bin/telnet/utilities.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r f85246649f7a -r a5aa891c626d usr.bin/telnet/utilities.c
--- a/usr.bin/telnet/utilities.c        Thu Jun 22 07:09:02 2000 +0000
+++ b/usr.bin/telnet/utilities.c        Thu Jun 22 07:12:36 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: utilities.c,v 1.7.10.1 2000/06/22 07:09:06 thorpej Exp $       */
+/*     $NetBSD: utilities.c,v 1.7.10.2 2000/06/22 07:12:36 thorpej Exp $       */
 
 /*
  * Copyright (c) 1988, 1993
@@ -38,7 +38,7 @@
 #if 0
 static char sccsid[] = "@(#)utilities.c        8.3 (Berkeley) 5/30/95";
 #else
-__RCSID("$NetBSD: utilities.c,v 1.7.10.1 2000/06/22 07:09:06 thorpej Exp $");
+__RCSID("$NetBSD: utilities.c,v 1.7.10.2 2000/06/22 07:12:36 thorpej Exp $");
 #endif
 #endif /* not lint */
 
@@ -317,7 +317,9 @@
     int                  length;       /* length of suboption data */
 {
     register int i;
+#ifdef ENCRYPTION
     char buf[512];
+#endif /* ENCRYPTION */
     extern int want_status_response;
 
     if (showoptions || direction == 0 ||



Home | Main Index | Thread Index | Old Index