diff options
| author | Joseph Myers <joseph@codesourcery.com> | 2004-11-25 11:13:38 +0000 |
|---|---|---|
| committer | Joseph Myers <jsm28@gcc.gnu.org> | 2004-11-25 11:13:38 +0000 |
| commit | 597cdf4f4354fce6b418f8d628a8a0f5ea778e34 (patch) | |
| tree | 67160e01dfbb1e6dc24efedebabe3742b5e5cbe4 /gcc/fortran/trans-decl.c | |
| parent | cc175e7c89539b0b55ef73c0ba9c7a6e062cc0d4 (diff) | |
| download | gcc-597cdf4f4354fce6b418f8d628a8a0f5ea778e34.zip gcc-597cdf4f4354fce6b418f8d628a8a0f5ea778e34.tar.gz gcc-597cdf4f4354fce6b418f8d628a8a0f5ea778e34.tar.bz2 | |
darwin.h (SUBTARGET_OVERRIDE_OPTIONS): Use %qs instead of `%s' in diagnostic.
* config/rs6000/darwin.h (SUBTARGET_OVERRIDE_OPTIONS): Use %qs
instead of `%s' in diagnostic.
cp:
* g++spec.c, lex.c: Avoid ` as left quote in diagnostics.
fortran:
* f95-lang.c, gfortranspec.c, trans-decl.c: Avoid ` as left quote
in diagnostics.
java:
* gjavah.c, jcf-dump.c, jv-scan.c, jvspec.c: Avoid ` as left quote
in diagnostics.
From-SVN: r91282
Diffstat (limited to 'gcc/fortran/trans-decl.c')
| -rw-r--r-- | gcc/fortran/trans-decl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/fortran/trans-decl.c b/gcc/fortran/trans-decl.c index 31ed219..2f16acc 100644 --- a/gcc/fortran/trans-decl.c +++ b/gcc/fortran/trans-decl.c @@ -2091,12 +2091,12 @@ generate_local_decl (gfc_symbol * sym) if (sym->attr.referenced) gfc_get_symbol_decl (sym); else if (sym->attr.dummy && warn_unused_parameter) - warning ("unused parameter `%s'", sym->name); + warning ("unused parameter %qs", sym->name); /* Warn for unused variables, but not if they're inside a common block or are use-associated. */ else if (warn_unused_variable && !(sym->attr.in_common || sym->attr.use_assoc)) - warning ("unused variable `%s'", sym->name); + warning ("unused variable %qs", sym->name); } } |
