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:
Mark Johnston 2019-05-30 15:26:39 +00:00
parent b627cd1c20
commit 5405b282e1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=348430

View File

@ -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;