aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2014-08-18 09:31:01 +0930
committerAlan Modra <amodra@gmail.com>2014-08-18 09:32:44 +0930
commit1e53931944810798e6741f664bd3ec727272fe11 (patch)
treebc3b521ce672f45c1ff495621787eafe8861c2cb /gas
parent87ea0aeaa31879f3cfdc91497f14a3f708a3d744 (diff)
downloadgdb-1e53931944810798e6741f664bd3ec727272fe11.zip
gdb-1e53931944810798e6741f664bd3ec727272fe11.tar.gz
gdb-1e53931944810798e6741f664bd3ec727272fe11.tar.bz2
Cast result of TC_PARSE_CONS_EXPRESSION
* read.c (parse_mri_cons): Warning fix.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/read.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 428dadd..909b4f4 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+2014-08-18 Alan Modra <amodra@gmail.com>
+
+ * read.c (parse_mri_cons): Warning fix.
+
2014-08-14 Alan Modra <amodra@gmail.com>
* configure.ac: Move ACX_LARGEFILE after LT_INIT.
diff --git a/gas/read.c b/gas/read.c
index 183ef2c..2d5fdf1 100644
--- a/gas/read.c
+++ b/gas/read.c
@@ -4605,7 +4605,7 @@ parse_mri_cons (expressionS *exp, unsigned int nbytes)
&& (input_line_pointer[1] != '\''
|| (*input_line_pointer != 'A'
&& *input_line_pointer != 'E')))
- TC_PARSE_CONS_EXPRESSION (exp, nbytes);
+ (void) TC_PARSE_CONS_EXPRESSION (exp, nbytes);
else
{
unsigned int scan;