summaryrefslogtreecommitdiff
path: root/src/database.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/database.c')
-rw-r--r--src/database.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/database.c b/src/database.c
index b21737a..82bf790 100644
--- a/src/database.c
+++ b/src/database.c
@@ -2187,6 +2187,7 @@ static int load_apkindex(void *sctx, const struct apk_file_info *fi,
if (r <= 0)
return r;
+ r = 0;
repo = &ctx->db->repos[ctx->repo];
if (strcmp(fi->name, "DESCRIPTION") == 0) {