diff options
author | Timo Teräs <timo.teras@iki.fi> | 2011-03-27 02:51:51 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2011-03-27 02:51:51 +0200 |
commit | 8e01be477762769b3f5bda4bd78b30bec699fb0a (patch) | |
tree | b49c89cfe922a3fcf0103f045d5b9bf8df4d2f5f | |
parent | 79b7123b09dc7f467e0a7f89d521fb75b616f574 (diff) | |
download | apk-tools-8e01be477762769b3f5bda4bd78b30bec699fb0a.tar.gz apk-tools-8e01be477762769b3f5bda4bd78b30bec699fb0a.tar.bz2 apk-tools-8e01be477762769b3f5bda4bd78b30bec699fb0a.tar.xz apk-tools-8e01be477762769b3f5bda4bd78b30bec699fb0a.zip |
apk: fix gcc 4.6 warnings
-rw-r--r-- | src/database.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/database.c b/src/database.c index 5d8cc38..8e9cb0d 100644 --- a/src/database.c +++ b/src/database.c @@ -563,7 +563,6 @@ int apk_db_read_overlay(struct apk_database *db, struct apk_bstream *bs) struct hlist_node **diri_node = NULL, **file_diri_node = NULL; struct apk_package *pkg; struct apk_installed_package *ipkg; - struct apk_db_file *file; apk_blob_t token = APK_BLOB_STR("\n"), line, bdir, bfile; pkg = apk_pkg_new(); @@ -589,7 +588,7 @@ int apk_db_read_overlay(struct apk_database *db, struct apk_bstream *bs) diri = apk_db_diri_new(db, pkg, bdir, &diri_node); file_diri_node = &diri->owned_files.first; } - file = apk_db_file_get(db, diri, bfile, &file_diri_node); + (void) apk_db_file_get(db, diri, bfile, &file_diri_node); } } |