From 1e53931944810798e6741f664bd3ec727272fe11 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Mon, 18 Aug 2014 09:31:01 +0930 Subject: [PATCH] Cast result of TC_PARSE_CONS_EXPRESSION * read.c (parse_mri_cons): Warning fix. --- gas/ChangeLog | 4 ++++ gas/read.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 428dadd7d8b..909b4f4025e 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2014-08-18 Alan Modra + + * read.c (parse_mri_cons): Warning fix. + 2014-08-14 Alan Modra * configure.ac: Move ACX_LARGEFILE after LT_INIT. diff --git a/gas/read.c b/gas/read.c index 183ef2c8fd9..2d5fdf1fdd4 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; -- 2.30.2