summaryrefslogtreecommitdiff
path: root/gcc/errors.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/errors.c')
-rw-r--r--gcc/errors.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/errors.c b/gcc/errors.c
index 6889c736efd..9470db1e9c7 100644
--- a/gcc/errors.c
+++ b/gcc/errors.c
@@ -42,7 +42,7 @@ int have_error = 0;
/* Print a warning message - output produced, but there may be problems. */
void
-warning (const char *format, ...)
+warning (int opt ATTRIBUTE_UNUSED, const char *format, ...)
{
va_list ap;