mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-26 11:47:31 +00:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=348430
@ -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…
Reference in New Issue
Block a user