summaryrefslogtreecommitdiffstats
path: root/libopkg/pkg_dest.c
diff options
context:
space:
mode:
authorgraham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2009-11-13 00:57:34 (EST)
committer graham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2009-11-13 00:57:34 (EST)
commitef1399b3610825667f5797c52afc964ee2a713be (patch)
treeb27c5714a375bc18bfbfdea97e7d75b353f6dcab /libopkg/pkg_dest.c
parentb3310381f4957e7a4866fa710bfbef4bd72919b7 (diff)
Remove unused variable.
git-svn-id: http://opkg.googlecode.com/svn/trunk@299 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Diffstat (limited to 'libopkg/pkg_dest.c')
-rw-r--r--libopkg/pkg_dest.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/libopkg/pkg_dest.c b/libopkg/pkg_dest.c
index 2adaf62..083f97c 100644
--- a/libopkg/pkg_dest.c
+++ b/libopkg/pkg_dest.c
@@ -56,8 +56,6 @@ int pkg_dest_init(pkg_dest_t *dest, const char *name, const char *root_dir,const
sprintf_alloc(&dest->status_file_name, "%s/%s",
dest->opkg_dir, OPKG_STATUS_FILE_SUFFIX);
- dest->status_file = NULL;
-
return 0;
}
@@ -81,10 +79,5 @@ void pkg_dest_deinit(pkg_dest_t *dest)
free(dest->status_file_name);
dest->status_file_name = NULL;
- if (dest->status_file) {
- fclose(dest->status_file);
- }
- dest->status_file = NULL;
-
dest->root_dir = NULL;
}