[librep] removed 3 unused variables



commit 5210d4c5ed9bfa74c0dbfecdd286bb444671dcca
Author: chrisb <zanghar freenet de>
Date:   Fri Jun 19 21:26:01 2009 +0200

    removed 3 unused variables

 ChangeLog            |    5 +++++
 src/sdbm.c           |    4 ----
 src/sdbm_pair.c      |    4 ----
 src/unix_processes.c |    1 -
 4 files changed, 5 insertions(+), 9 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 47c2edc..4317754 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-06-19  Christopher Bratusek <zanghar freenet de>
+	* src/unix_processes
+	* src/sdbm.c
+	* src/sdbm_pair.c: removed 3 unused variables
+
 2009-05-30  Christopher Bratusek <zanghar freenet de>
 	* src/utf8.c: added UTF-8 Support! [Wang Diancheng]
 
diff --git a/src/sdbm.c b/src/sdbm.c
index 187435b..bb79429 100644
--- a/src/sdbm.c
+++ b/src/sdbm.c
@@ -7,10 +7,6 @@
  * core routines
  */
 
-#ifndef lint
-static char rcsid[] = "$Id$";
-#endif
-
 #include "sdbm.h"
 #include "sdbm_tune.h"
 #include "sdbm_pair.h"
diff --git a/src/sdbm_pair.c b/src/sdbm_pair.c
index 361f4f4..39a1d4c 100644
--- a/src/sdbm_pair.c
+++ b/src/sdbm_pair.c
@@ -7,10 +7,6 @@
  * page-level routines
  */
 
-#ifndef lint
-static char rcsid[] = "$Id$";
-#endif
-
 #include "sdbm.h"
 #include "sdbm_tune.h"
 #include "sdbm_pair.h"
diff --git a/src/unix_processes.c b/src/unix_processes.c
index 0d396c0..659dc27 100644
--- a/src/unix_processes.c
+++ b/src/unix_processes.c
@@ -472,7 +472,6 @@ static int
 get_pty(char *slavenam)
 {
 #if defined(HAVE_PTYS)
-    char c;
     int master;
 
 # if defined(HAVE_DEV_PTMX) && defined(HAVE_GRANTPT)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]