mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-03-07 13:39:43 +08:00
gas/ChangeLog
2012-11-20 Yufeng Zhang <yufeng.zhang@arm.com> * config/tc-aarch64.c (first_error_fmt): Add ATTRIBUTE_UNUSED to the local variable "ret".
This commit is contained in:
parent
668b27eacf
commit
3e0baa280f
@ -1,3 +1,8 @@
|
|||||||
|
2012-11-20 Yufeng Zhang <yufeng.zhang@arm.com>
|
||||||
|
|
||||||
|
* config/tc-aarch64.c (first_error_fmt): Add ATTRIBUTE_UNUSED to the
|
||||||
|
local variable "ret".
|
||||||
|
|
||||||
2012-11-20 David S. Miller <davem@davemloft.net>
|
2012-11-20 David S. Miller <davem@davemloft.net>
|
||||||
|
|
||||||
* config/tc-sparc.c (md_parse_option): Only certain arch
|
* config/tc-sparc.c (md_parse_option): Only certain arch
|
||||||
|
@ -643,7 +643,7 @@ first_error_fmt (const char *format, ...)
|
|||||||
|
|
||||||
if (! error_p ())
|
if (! error_p ())
|
||||||
{
|
{
|
||||||
int ret;
|
int ret ATTRIBUTE_UNUSED;
|
||||||
va_start (args, format);
|
va_start (args, format);
|
||||||
ret = vsnprintf (buffer, size, format, args);
|
ret = vsnprintf (buffer, size, format, args);
|
||||||
know (ret <= size - 1 && ret >= 0);
|
know (ret <= size - 1 && ret >= 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user