summaryrefslogtreecommitdiffstats
path: root/isys
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2003-07-07 21:19:19 +0000
committerJeremy Katz <katzj@redhat.com>2003-07-07 21:19:19 +0000
commit9c90645c00a27119e44c95a5e3bcbb7ec30491c8 (patch)
tree1c770b046d427583b67f4e05eb3402c0deff1547 /isys
parent15c30bce5e2ec68819bd5b3e3c34241fd1149d68 (diff)
downloadanaconda-9c90645c00a27119e44c95a5e3bcbb7ec30491c8.tar.gz
anaconda-9c90645c00a27119e44c95a5e3bcbb7ec30491c8.tar.xz
anaconda-9c90645c00a27119e44c95a5e3bcbb7ec30491c8.zip
unused var
Diffstat (limited to 'isys')
-rw-r--r--isys/minifind.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/isys/minifind.c b/isys/minifind.c
index 9da9f62ef..f483055b4 100644
--- a/isys/minifind.c
+++ b/isys/minifind.c
@@ -26,8 +26,6 @@ void insert_node(struct pathNode *n, char *path)
// return input strip less last character
char *stripLastChar(char *in)
{
- int i;
-
char *out = malloc(sizeof(char)*strlen(in));
snprintf(out, strlen(in) - 1, "%s", in);
return out;