[pacman-dev] [PATCH 1/2] dload: remove unnecessary cast in alpm_load_payload_free

Dave Reisner d at falconindy.com
Thu Aug 11 09:04:51 EDT 2011


Signed-off-by: Dave Reisner <dreisner at archlinux.org>
---
 lib/libalpm/dload.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/lib/libalpm/dload.c b/lib/libalpm/dload.c
index ac47e94..689fe6e 100644
--- a/lib/libalpm/dload.c
+++ b/lib/libalpm/dload.c
@@ -490,8 +490,6 @@ char SYMEXPORT *alpm_fetch_pkgurl(alpm_handle_t *handle, const char *url)
 }
 
 void _alpm_dload_payload_free(struct dload_payload *payload) {
-	struct dload_payload *load = (struct dload_payload *)payload;
-
 	ASSERT(load, return);
 
 	FREE(load->fileurl);
-- 
1.7.6



More information about the pacman-dev mailing list