ld/ChangeLog:
* emultempl/msp430.em: Remove unused variable "buf".
+2020-08-27 Jozef Lawrynowicz <jozef.l@mittosystems.com>
+
+ * emultempl/msp430.em: Remove unused variable "buf".
+
2020-08-27 Nick Alcock <nick.alcock@oracle.com>
* ldlang.c (dump_ctf_errs): Unquote CTF error messages.
char * lower_name;
char * upper_name;
char * name;
- char * buf = NULL;
lang_output_section_statement_type * lower;
lang_output_section_statement_type * upper;
only use the part of the name before the second dot. */
if (strchr (secname + 1, '.') != NULL)
{
- buf = name = xstrdup (secname);
+ name = xstrdup (secname);
* strchr (name + 1, '.') = 0;
}
end:
free (upper_name);
free (lower_name);
- free (buf);
return lower;
}
EOF