summaryrefslogtreecommitdiff
path: root/gcc/diagnostic.c
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2012-02-02 20:46:06 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2012-02-02 20:46:06 +0000
commit00c00a40fca27e3fdf5eb00ca83155b15236eb9e (patch)
tree921c3b37fbdcba9f5a623a68d4932a2de788b6cd /gcc/diagnostic.c
parent13bfd413cf5e146347ad19d1f278d2409f726665 (diff)
downloadgcc-00c00a40fca27e3fdf5eb00ca83155b15236eb9e.tar.gz
PR middle-end/48071
* diagnostic.c (diagnostic_finish): Remove trailing newlines. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183847 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/diagnostic.c')
-rw-r--r--gcc/diagnostic.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/diagnostic.c b/gcc/diagnostic.c
index a8c0e669352..a68d6ce88ee 100644
--- a/gcc/diagnostic.c
+++ b/gcc/diagnostic.c
@@ -1,6 +1,6 @@
/* Language-independent diagnostic subroutines for the GNU Compiler Collection
Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008,
- 2009, 2010 Free Software Foundation, Inc.
+ 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
Contributed by Gabriel Dos Reis <gdr@codesourcery.com>
This file is part of GCC.
@@ -133,12 +133,12 @@ diagnostic_finish (diagnostic_context *context)
/* -Werror was given. */
if (context->warning_as_error_requested)
pp_verbatim (context->printer,
- _("%s: all warnings being treated as errors\n"),
+ _("%s: all warnings being treated as errors"),
progname);
/* At least one -Werror= was given. */
else
pp_verbatim (context->printer,
- _("%s: some warnings being treated as errors\n"),
+ _("%s: some warnings being treated as errors"),
progname);
pp_flush (context->printer);
}