elfcopy: Remove an unneeded memset.
Reviewed by: emaste, trasz MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D20445
This commit is contained in:
parent
b627cd1c20
commit
5405b282e1
@ -1565,7 +1565,6 @@ main(int argc, char **argv)
|
||||
ecp = calloc(1, sizeof(*ecp));
|
||||
if (ecp == NULL)
|
||||
err(EXIT_FAILURE, "calloc failed");
|
||||
memset(ecp, 0, sizeof(*ecp));
|
||||
|
||||
ecp->itf = ecp->otf = ETF_ELF;
|
||||
ecp->iec = ecp->oec = ELFCLASSNONE;
|
||||
|
Loading…
x
Reference in New Issue
Block a user