]> pd.if.org Git - zpackage/commitdiff
remove elf debugging output
authorNathan Wagner <nw@hydaspes.if.org>
Fri, 10 Aug 2018 07:08:21 +0000 (07:08 +0000)
committerNathan Wagner <nw@hydaspes.if.org>
Fri, 10 Aug 2018 07:08:21 +0000 (07:08 +0000)
lib/zpm.c

index 68d6fb9aabd44d134fc83ffa8145118e0b93a23b..1565bec495fbd3c23c7eb316c3a99954d1029e5e 100644 (file)
--- a/lib/zpm.c
+++ b/lib/zpm.c
@@ -611,7 +611,9 @@ static int set_elf_info(sqlite3 *db, char *hash, char *content, size_t length) {
                                        need = strtab + dyn->d_un.d_val;
                                        if (strlen(need) == 0) continue;
                                        sqlite3_bind_text(ifile,2,need,strlen(need),SQLITE_STATIC);
+#if 0
                                        fprintf(stderr, "%s needs %s\n", hash, need);
+#endif
                                        rc = sqlite3_step(ifile);
                                        if (rc != SQLITE_DONE) {
                                                SQLERROR(sqlite3_errmsg(db));