Author: markj Date: Thu Jun 6 03:02:43 2019 New Revision: 348719 URL: https://svnweb.freebsd.org/changeset/base/348719
Log: MFC r348430: elfcopy: Remove an unneeded memset. Modified: stable/12/contrib/elftoolchain/elfcopy/main.c Directory Properties: stable/12/ (props changed) Modified: stable/12/contrib/elftoolchain/elfcopy/main.c ============================================================================== --- stable/12/contrib/elftoolchain/elfcopy/main.c Thu Jun 6 03:02:25 2019 (r348718) +++ stable/12/contrib/elftoolchain/elfcopy/main.c Thu Jun 6 03:02:43 2019 (r348719) @@ -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; _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"