diff options
author | Yufeng Zhang <yufeng.zhang@arm.com> | 2012-11-20 10:29:00 +0000 |
---|---|---|
committer | Yufeng Zhang <yufeng.zhang@arm.com> | 2012-11-20 10:29:00 +0000 |
commit | 3e0baa280f5f03b3c9cb7c516cca7bf8ca68bece (patch) | |
tree | bbba9004e2512b12ded122787745f1af53c14c57 /gas/config | |
parent | 668b27eacf911204998fe203a610d4d101f45d06 (diff) | |
download | fsf-binutils-gdb-3e0baa280f5f03b3c9cb7c516cca7bf8ca68bece.zip fsf-binutils-gdb-3e0baa280f5f03b3c9cb7c516cca7bf8ca68bece.tar.gz fsf-binutils-gdb-3e0baa280f5f03b3c9cb7c516cca7bf8ca68bece.tar.bz2 |
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".
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/tc-aarch64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c index e7a2fe0..bf72a13 100644 --- a/gas/config/tc-aarch64.c +++ b/gas/config/tc-aarch64.c @@ -643,7 +643,7 @@ first_error_fmt (const char *format, ...) if (! error_p ()) { - int ret; + int ret ATTRIBUTE_UNUSED; va_start (args, format); ret = vsnprintf (buffer, size, format, args); know (ret <= size - 1 && ret >= 0); |