summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>1999-10-26 16:28:59 +0000
committerTheodore Ts'o <tytso@mit.edu>1999-10-26 16:28:59 +0000
commitcdceb0496f7ae23f685a409ab070f3431bcad520 (patch)
tree414a37cf395a8fe0dccf7034bebcbf8ea9b9447c /util
parent36b0130b1fde12e6eceda490f0cda39f7bce2503 (diff)
downloade2fsprogs-cdceb0496f7ae23f685a409ab070f3431bcad520.tar.gz
ChangeLog, subst.c:
subst.c (substitute_line): Removed some unused variables.
Diffstat (limited to 'util')
-rw-r--r--util/ChangeLog4
-rw-r--r--util/subst.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/util/ChangeLog b/util/ChangeLog
index 1bd5956d..493dd4e8 100644
--- a/util/ChangeLog
+++ b/util/ChangeLog
@@ -1,3 +1,7 @@
+1999-10-26 <tytso@valinux.com>
+
+ * subst.c (substitute_line): Removed some unused variables.
+
1999-10-22 <tytso@valinux.com>
* Release of E2fsprogs 1.16
diff --git a/util/subst.c b/util/subst.c
index f1f7a6e3..c8a2b23a 100644
--- a/util/subst.c
+++ b/util/subst.c
@@ -113,10 +113,10 @@ static void replace_string(char *begin, char *end, char *newstr)
static void substitute_line(char *line)
{
- char *ptr, *name_ptr, *end_ptr, *cp, ch;
+ char *ptr, *name_ptr, *end_ptr;
struct subst_entry *ent;
char *replace_name;
- int len, replace_len;
+ int len;
/*
* Expand all @FOO@ substitutions