Source-Changes-HG archive

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

[src/trunk]: src/lib/libedit remove unused variables.



details:   https://anonhg.NetBSD.org/src/rev/fac6375d2008
branches:  trunk
changeset: 538733:fac6375d2008
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Oct 27 21:43:35 2002 +0000

description:
remove unused  variables.

diffstat:

 lib/libedit/readline.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 0378f9ff6cd0 -r fac6375d2008 lib/libedit/readline.c
--- a/lib/libedit/readline.c    Sun Oct 27 21:41:51 2002 +0000
+++ b/lib/libedit/readline.c    Sun Oct 27 21:43:35 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: readline.c,v 1.24 2002/10/27 21:41:50 christos Exp $   */
+/*     $NetBSD: readline.c,v 1.25 2002/10/27 21:43:35 christos Exp $   */
 
 /*-
  * Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
 
 #include "config.h"
 #if !defined(lint) && !defined(SCCSID)
-__RCSID("$NetBSD: readline.c,v 1.24 2002/10/27 21:41:50 christos Exp $");
+__RCSID("$NetBSD: readline.c,v 1.25 2002/10/27 21:43:35 christos Exp $");
 #endif /* not lint && not SCCSID */
 
 #include <sys/types.h>
@@ -337,7 +337,7 @@
 _rl_compat_sub(const char *str, const char *what, const char *with,
     int globally)
 {
-       char *result, *r;
+       char *result;
        const char *temp, *new;
        int len, with_len, what_len, add;
        size_t size, i;



Home | Main Index | Thread Index | Old Index