diff options
author | brooks <brooks@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-03-26 22:59:33 +0000 |
---|---|---|
committer | brooks <brooks@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-03-26 22:59:33 +0000 |
commit | 1c88c6ac6a325b66614e8aed88ff26da2f9b3a48 (patch) | |
tree | b04da9b76bdbf850a86445f92790dff39c3173f3 /gcc/fortran/error.c | |
parent | 5084f823465d3e674f935bca11279853a5b69092 (diff) | |
download | gcc-1c88c6ac6a325b66614e8aed88ff26da2f9b3a48.tar.gz |
* error.c (show_locus): Remove always-false test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123244 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fortran/error.c')
-rw-r--r-- | gcc/fortran/error.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/gcc/fortran/error.c b/gcc/fortran/error.c index 89cd4a9ac32..73488479a60 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. */ |