]> pd.if.org Git - zpackage/blobdiff - lib/zpm.c
remove unused elf tables, add elf summary view
[zpackage] / lib / zpm.c
index b7d97776659c5c7b22bc6aec59462b2b2e58a138..50594477bc33cc59261a6f04102a21f4773b0134 100644 (file)
--- a/lib/zpm.c
+++ b/lib/zpm.c
@@ -562,10 +562,6 @@ static int set_elf_info(sqlite3 *db, char *hash, char *content, size_t length) {
                int rc;
 
                /* clear existing for this hash */
-               if (!run_for_hash(db, "delete from elfinfo where file = ?", hash)) {
-                       SQLERP(db, "error clearing elf info");
-                       return 0;
-               }
 
                if (!run_for_hash(db, "delete from elflibraries where file = ?", hash)) {
                        SQLERP(db, "error clearing elf library");