remove debug prints

This commit is contained in:
David du Colombier 2017-07-27 01:32:13 +02:00
parent 5926c748a5
commit 0e499b02bb
1 changed files with 0 additions and 2 deletions

2
elf.c
View File

@ -467,7 +467,6 @@ readident(FILE *f, Fhdr *fp)
for (i = 0; i < nelem(class); i++) {
if (buf[EI_CLASS] != class[i].type)
continue;
printf("class: %s\n", class[i].name);
if (class[i].readelfehdr == NULL)
return -1;
fp->readelfehdr = class[i].readelfehdr;
@ -486,7 +485,6 @@ readident(FILE *f, Fhdr *fp)
for (i = 0; i < nelem(data); i++) {
if (buf[EI_DATA] != data[i].type)
continue;
printf("data encoding: %s\n", data[i].name);
if (data[i].get8 == NULL)
return -1;
fp->get8 = data[i].get8;