summaryrefslogtreecommitdiff
path: root/src/database.c
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-06-17 16:47:49 +0300
committerTimo Teräs <timo.teras@iki.fi>2013-06-17 16:47:49 +0300
commit0a131418899436b58a163978176d99c08cbddb0c (patch)
treeabd0fe5c52ee39fca31ba562c934dbd6d0584705 /src/database.c
parent92764088a2b09d4e322d21e769ecb51bb5f3b17c (diff)
downloadapk-tools-0a131418899436b58a163978176d99c08cbddb0c.tar.gz
apk-tools-0a131418899436b58a163978176d99c08cbddb0c.tar.bz2
apk-tools-0a131418899436b58a163978176d99c08cbddb0c.tar.xz
apk-tools-0a131418899436b58a163978176d99c08cbddb0c.zip
print: move progress printing to common functions
Diffstat (limited to 'src/database.c')
-rw-r--r--src/database.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/database.c b/src/database.c
index ab129b4..db8bb5e 100644
--- a/src/database.c
+++ b/src/database.c
@@ -1453,7 +1453,6 @@ int apk_db_open(struct apk_database *db, struct apk_db_options *dbopts)
int r, fd, write_arch = FALSE;
memset(db, 0, sizeof(*db));
- db->progress_fd = dbopts->progress_fd;
if (apk_flags & APK_SIMULATE) {
dbopts->open_flags &= ~(APK_OPENF_CREATE | APK_OPENF_WRITE);
dbopts->open_flags |= APK_OPENF_READ;