diff options
Diffstat (limited to 'gcc/c-errors.c')
-rw-r--r-- | gcc/c-errors.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/c-errors.c b/gcc/c-errors.c index 274e9df4d74..7654239d4bb 100644 --- a/gcc/c-errors.c +++ b/gcc/c-errors.c @@ -36,10 +36,10 @@ pedwarn_c99 (const char *gmsgid, ...) { diagnostic_info diagnostic; va_list ap; - + va_start (ap, gmsgid); diagnostic_set_info (&diagnostic, gmsgid, &ap, input_location, - flag_isoc99 ? pedantic_error_kind () : DK_WARNING); + flag_isoc99 ? pedantic_error_kind () : DK_WARNING); report_diagnostic (&diagnostic); va_end (ap); } @@ -57,7 +57,7 @@ pedwarn_c90 (const char *gmsgid, ...) va_start (ap, gmsgid); diagnostic_set_info (&diagnostic, gmsgid, &ap, input_location, - flag_isoc99 ? DK_WARNING : pedantic_error_kind ()); + flag_isoc99 ? DK_WARNING : pedantic_error_kind ()); report_diagnostic (&diagnostic); va_end (ap); } |