aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/error.c
diff options
context:
space:
mode:
authorBrooks Moses <brooks.moses@codesourcery.com>2007-03-26 22:59:33 +0000
committerBrooks Moses <brooks@gcc.gnu.org>2007-03-26 15:59:33 -0700
commit7b0930d9ccea1260abcd6b855c4b44876c58a78a (patch)
treeb04da9b76bdbf850a86445f92790dff39c3173f3 /gcc/fortran/error.c
parent2aeb72e996a107ec45aa45e7f2db2c4e1f76ff11 (diff)
downloadgcc-7b0930d9ccea1260abcd6b855c4b44876c58a78a.zip
gcc-7b0930d9ccea1260abcd6b855c4b44876c58a78a.tar.gz
gcc-7b0930d9ccea1260abcd6b855c4b44876c58a78a.tar.bz2
* error.c (show_locus): Remove always-false test.
From-SVN: r123244
Diffstat (limited to 'gcc/fortran/error.c')
-rw-r--r--gcc/fortran/error.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gcc/fortran/error.c b/gcc/fortran/error.c
index 89cd4a9..7348847 100644
--- a/gcc/fortran/error.c
+++ b/gcc/fortran/error.c
@@ -233,12 +233,6 @@ show_locus (locus *loc, int c1, int c2)
if (cmax > terminal_width - 5)
offset = cmax - terminal_width + 5;
- /* TODO: Is there a good reason for the following apparently-redundant
- check, and the similar ones in the single-locus cases below? */
-
- if (offset < 0)
- offset = 0;
-
/* Show the line itself, taking care not to print more than what can
show up on the terminal. Tabs are converted to spaces, and
nonprintable characters are converted to a "\xNN" sequence. */