aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2003-07-22 15:27:06 +0000
committerH.J. Lu <hjl.tools@gmail.com>2003-07-22 15:27:06 +0000
commitb41b1f95b76030c2f695d94485afab9212a20a06 (patch)
tree37dd353548f5b17428c7ea9668f1559019351d44
parentd416627cc3e021feac66e61dab8560371dfdb1f4 (diff)
downloadgdb-b41b1f95b76030c2f695d94485afab9212a20a06.zip
gdb-b41b1f95b76030c2f695d94485afab9212a20a06.tar.gz
gdb-b41b1f95b76030c2f695d94485afab9212a20a06.tar.bz2
2003-07-22 H.J. Lu <hongjiu.lu@intel.com>
* read.c (do_parse_cons_expression): Mark nbytes unused to silence gcc.
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/read.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 07f44b5..b117624 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2003-07-22 H.J. Lu <hongjiu.lu@intel.com>
+
+ * read.c (do_parse_cons_expression): Mark nbytes unused to
+ silence gcc.
+
2003-07-22 Alexandre Oliva <aoliva@redhat.com>
* config/tc-h8300.c (get_specific): No PCREL8 encoding for bsr/bc
diff --git a/gas/read.c b/gas/read.c
index 4179348..ef2340c 100644
--- a/gas/read.c
+++ b/gas/read.c
@@ -3348,7 +3348,8 @@ parse_repeat_cons PARAMS ((expressionS *exp, unsigned int nbytes));
#endif
void
-do_parse_cons_expression (expressionS *exp, int nbytes)
+do_parse_cons_expression (expressionS *exp,
+ int nbytes ATTRIBUTE_UNUSED)
{
TC_PARSE_CONS_EXPRESSION (exp, nbytes);
}