summaryrefslogtreecommitdiff
path: root/src/cache.c
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2011-10-31 20:47:52 +0200
committerTimo Teräs <timo.teras@iki.fi>2011-10-31 20:47:52 +0200
commite36e99f31d8d1669de1a52d08828bb948d0bdef0 (patch)
treeab878066b52c06c46f1c2ed1be49c6967f21aa96 /src/cache.c
parentf41cb48fedfcdc64b768e583742e8d6aea2971b5 (diff)
downloadapk-tools-e36e99f31d8d1669de1a52d08828bb948d0bdef0.tar.gz
apk-tools-e36e99f31d8d1669de1a52d08828bb948d0bdef0.tar.bz2
apk-tools-e36e99f31d8d1669de1a52d08828bb948d0bdef0.tar.xz
apk-tools-e36e99f31d8d1669de1a52d08828bb948d0bdef0.zip
cache: fix download
Diffstat (limited to 'src/cache.c')
-rw-r--r--src/cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cache.c b/src/cache.c
index c98bc4b..fc4593d 100644
--- a/src/cache.c
+++ b/src/cache.c
@@ -26,7 +26,7 @@
static int cache_download(struct apk_database *db)
{
- struct apk_changeset changeset;
+ struct apk_changeset changeset = {};
struct apk_change *change;
struct apk_package *pkg;
struct apk_repository *repo;